Skip to content

Commit

Permalink
Add many tools to facilitate reversing.
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackINT3 committed Nov 1, 2021
1 parent 04eb217 commit 29b66ff
Show file tree
Hide file tree
Showing 47 changed files with 969 additions and 264 deletions.
2 changes: 2 additions & 0 deletions src/OpenArk/coderkit/coderkit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ void CoderKit::InitAsmToolsView()
ui.splitter->setStretchFactor(1, 2);
ui.nullRadio->setChecked(true);
connect(ui.asmBtn, &QPushButton::clicked, this, [&]() {
if (!UNONE::OsIs64()) { MsgBoxError("The feature not support 32bits os."); return; }
ByteOrder byteorder = LITTLE_ENDIAN;
auto byteorder_idx = ui.byteorderBox->currentIndex();
if (byteorder_idx == 0) byteorder = LITTLE_ENDIAN;
Expand Down Expand Up @@ -358,6 +359,7 @@ void CoderKit::InitAsmToolsView()
});

connect(ui.disasmBtn, &QPushButton::clicked, this, [&]() {
if (!UNONE::OsIs64()) { MsgBoxError("The feature not support 32bits os."); return; }
ByteOrder byteorder = LITTLE_ENDIAN;
auto byteorder_idx = ui.byteorderBox->currentIndex();
if (byteorder_idx == 0) byteorder = LITTLE_ENDIAN;
Expand Down
11 changes: 4 additions & 7 deletions src/OpenArk/kernel/kernel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,14 +129,11 @@ void Kernel::onClickKernelMode()
if (!arkdrv_conn_) {
QString drvpath;
drvpath = WStrToQ(UNONE::OsEnvironmentW(QToWStr(L"%Temp%\\" + drvname)));
DeleteFileW(QToWChars(drvpath));
ExtractResource(":/OpenArk/driver/" + drvname, drvpath);
{
SignExpiredDriver(drvpath);
RECOVER_SIGN_TIME();
if (!driver_->InstallDriver(drvpath, srvname)) {
QERR_W("InstallDriver %s err", QToWChars(drvpath));
return;
}
if (!driver_->InstallDriver(drvpath, srvname)) {
QERR_W("InstallDriver %s err", QToWChars(drvpath));
return;
}
if (!ArkDrvApi::ConnectDriver()) {
ERR("ConnectDriver err");
Expand Down
2 changes: 1 addition & 1 deletion src/OpenArk/openark_zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<location filename="ui/about.ui" line="84"/>
<source>Support: Windows XP/7/8/8.1/10/11 32/64bit</source>
<oldsource>Support: Windows XP/7/8/8.1/10 32/64bit</oldsource>
<translation type="unfinished">系统支持:Windows XP/7/8/8.1/10 32/64bit</translation>
<translation type="unfinished">系统支持:Windows XP/7/8/8.1/10/11 32/64bit</translation>
</message>
<message>
<location filename="ui/about.ui" line="97"/>
Expand Down
Binary file modified src/OpenArk/res/OpenArk.rc
Binary file not shown.
Binary file added src/OpenArk/res/devkits/androidstudio.ico
Binary file not shown.
Binary file added src/OpenArk/res/devkits/vs.ico
Binary file not shown.
Binary file modified src/OpenArk/res/lang/openark_zh.qm
Binary file not shown.
288 changes: 159 additions & 129 deletions src/OpenArk/res/openark.qrc
Original file line number Diff line number Diff line change
@@ -1,131 +1,161 @@
<RCC>
<qresource prefix="/OpenArk">
<file>revtools/cpuz.ico</file>
<file>revtools/7z.ico</file>
<file>revtools/aida64.ico</file>
<file>revtools/anydesk.ico</file>
<file>revtools/apimon32.ico</file>
<file>revtools/apimon64.ico</file>
<file>revtools/cffexplorer.ico</file>
<file>revtools/charles.ico</file>
<file>revtools/cheatengine.ico</file>
<file>revtools/chrome.ico</file>
<file>revtools/chromesetup.ico</file>
<file>revtools/curl.ico</file>
<file>revtools/dbgview.ico</file>
<file>revtools/default.ico</file>
<file>revtools/diskgenius.ico</file>
<file>revtools/editor010.ico</file>
<file>revtools/everything.ico</file>
<file>revtools/exeinfope.ico</file>
<file>revtools/fiddler.ico</file>
<file>revtools/firefox.ico</file>
<file>revtools/ghidra.ico</file>
<file>revtools/hcd.ico</file>
<file>revtools/hxd.ico</file>
<file>revtools/ida32.ico</file>
<file>revtools/ida64.ico</file>
<file>revtools/keygener.ico</file>
<file>revtools/nirsoft.ico</file>
<file>revtools/nmap.ico</file>
<file>revtools/notepadxx.ico</file>
<file>revtools/od52pj.ico</file>
<file>revtools/ollydbg.ico</file>
<file>revtools/ollyice.ico</file>
<file>revtools/pchunter.ico</file>
<file>revtools/peid.ico</file>
<file>revtools/poolmonx.ico</file>
<file>revtools/procexp.ico</file>
<file>revtools/procmon.ico</file>
<file>revtools/pygtools.ico</file>
<file>revtools/reshacker.ico</file>
<file>revtools/spyxx.ico</file>
<file>revtools/sunlogin.ico</file>
<file>revtools/sysinternals.ico</file>
<file>revtools/teamviewer.ico</file>
<file>revtools/windbg.ico</file>
<file>revtools/window.ico</file>
<file>revtools/winhex.ico</file>
<file>revtools/winobj.ico</file>
<file>revtools/winrar.ico</file>
<file>revtools/winspy.ico</file>
<file>revtools/wireshark.ico</file>
<file>revtools/wke.ico</file>
<file>revtools/x64dbg.ico</file>
<file>devkits/git.ico</file>
<file>devkits/golang.ico</file>
<file>devkits/jdk.ico</file>
<file>devkits/python.ico</file>
<file>devkits/tortoisegit.ico</file>
<file>devkits/tortoisesvn.ico</file>
<file>devkits/vcredist.ico</file>
<file>exit.ico</file>
<file>ontop.ico</file>
<file>OpenArk.ico</file>
<file>save.ico</file>
<file>settings.ico</file>
<file>open.ico</file>
<file>refresh.ico</file>
<file>gitub.ico</file>
<file>console.ico</file>
<file>BundlerShell.exe</file>
<file>handle.ico</file>
<file>module.ico</file>
<file>memory.ico</file>
<file>sign/Config.xml</file>
<file>sign/CSignTool.exe</file>
<file>sign/CSignTool.pfx</file>
<file>driver/OpenArkDrv32.sys</file>
<file>driver/OpenArkDrv64.sys</file>
<file>lang/openark_zh.qm</file>
<file>systools/recyclebin.png</file>
<file>systools/cmd.ico</file>
<file>systools/powershell.ico</file>
<file>systools/wsl.ico</file>
<file>systools/calc.ico</file>
<file>systools/firewall.ico</file>
<file>systools/performance.ico</file>
<file>systools/regedit.ico</file>
<file>systools/tasksch.ico</file>
<file>systools/credential.ico</file>
<file>systools/datetime.ico</file>
<file>systools/deskicon.ico</file>
<file>systools/powercfg.ico</file>
<file>systools/program.ico</file>
<file>systools/services.ico</file>
<file>systools/share.ico</file>
<file>systools/taskmgr.ico</file>
<file>systools/uac.ico</file>
<file>systools/users.ico</file>
<file>systools/systeminfo.ico</file>
<file>systools/wallpaper.ico</file>
<file>systools/devmgr.ico</file>
<file>systools/poweroff.ico</file>
<file>systools/reboot.ico</file>
<file>systools/netconnections.ico</file>
<file>systools/resmon.ico</file>
<file>systools/certmgr.ico</file>
<file>systools/eventlog.ico</file>
<file>systools/gpedit.ico</file>
<file>systools/secpolicy.ico</file>
<file>systools/proxy.ico</file>
<file>systools/version.ico</file>
<file>systools/disks.ico</file>
<file>systools/hosts.ico</file>
<file>systools/env.ico</file>
<file>systools/ipv4.ico</file>
<file>systools/ipv6.ico</file>
<file>systools/pcname.ico</file>
<file>systools/route.ico</file>
<file>systools/perfsettings.ico</file>
<file>help.ico</file>
<file>update.ico</file>
<file>systools/resetexplorer.ico</file>
<file>systools/killexplorer.ico</file>
<file>main/run.ico</file>
<file>nasm/rasm2.exe</file>
</qresource>
<qresource prefix="/UI">
<file>ui/memory-rw.ui</file>
</qresource>
<qresource prefix="/OpenArk">
<file>devkits/vs.ico</file>
<file>revtools/androidkiller.ico</file>
<file>revtools/apkstudio.ico</file>
<file>revtools/gda.ico</file>
<file>revtools/jadx.ico</file>
<file>revtools/uleb128.ico</file>
<file>revtools/xelfviewer.ico</file>
<file>revtools/jdgui.ico</file>
<file>revtools/putty.ico</file>
<file>devkits/androidstudio.ico</file>
<file>revtools/mobaxterm.ico</file>
<file>revtools/redistool.ico</file>
<file>revtools/robo3t.ico</file>
<file>revtools/sqlitestudio.ico</file>
<file>revtools/cygwin64.ico</file>
<file>revtools/wiztree.ico</file>
<file>revtools/die.ico</file>
<file>revtools/dnspy.ico</file>
<file>revtools/hddog.ico</file>
<file>revtools/loadtest.ico</file>
<file>revtools/notepad2.ico</file>
<file>revtools/pebear.ico</file>
<file>revtools/rapidee.ico</file>
<file>revtools/treesizefree.ico</file>
<file>revtools/vscode.ico</file>
<file>revtools/as_ssd.ico</file>
<file>revtools/pdbripper.ico</file>
<file>revtools/instdrv.ico</file>
<file>revtools/calcfpu.ico</file>
<file>revtools/calc.ico</file>
<file>revtools/window.ico</file>
<file>revtools/winrar.ico</file>
<file>revtools/wke.ico</file>
<file>revtools/poolmonx.ico</file>
<file>revtools/pygtools.ico</file>
<file>revtools/keygener.ico</file>
<file>revtools/nmap.ico</file>
<file>revtools/diskgenius.ico</file>
<file>revtools/firefox.ico</file>
<file>revtools/ghidra.ico</file>
<file>revtools/cpuz.ico</file>
<file>revtools/curl.ico</file>
<file>revtools/chrome.ico</file>
<file>revtools/chromesetup.ico</file>
<file>revtools/7z.ico</file>
<file>revtools/aida64.ico</file>
<file>revtools/charles.ico</file>
<file>revtools/everything.ico</file>
<file>revtools/winhex.ico</file>
<file>revtools/anydesk.ico</file>
<file>revtools/sunlogin.ico</file>
<file>revtools/teamviewer.ico</file>
<file>revtools/wireshark.ico</file>
<file>revtools/fiddler.ico</file>
<file>revtools/spyxx.ico</file>
<file>revtools/editor010.ico</file>
<file>revtools/notepadxx.ico</file>
<file>revtools/default.ico</file>
<file>revtools/hcd.ico</file>
<file>revtools/peid.ico</file>
<file>revtools/cheatengine.ico</file>
<file>revtools/cffexplorer.ico</file>
<file>revtools/reshacker.ico</file>
<file>revtools/exeinfope.ico</file>
<file>revtools/x64dbg.ico</file>
<file>revtools/ollyice.ico</file>
<file>revtools/ollydbg.ico</file>
<file>revtools/ida64.ico</file>
<file>revtools/ida32.ico</file>
<file>revtools/windbg.ico</file>
<file>revtools/od52pj.ico</file>
<file>revtools/sysinternals.ico</file>
<file>revtools/nirsoft.ico</file>
<file>revtools/apimon32.ico</file>
<file>revtools/apimon64.ico</file>
<file>revtools/pchunter.ico</file>
<file>revtools/hxd.ico</file>
<file>revtools/winspy.ico</file>
<file>revtools/winobj.ico</file>
<file>revtools/procmon.ico</file>
<file>revtools/procexp.ico</file>
<file>revtools/dbgview.ico</file>
<file>devkits/git.ico</file>
<file>devkits/golang.ico</file>
<file>devkits/jdk.ico</file>
<file>devkits/python.ico</file>
<file>devkits/tortoisegit.ico</file>
<file>devkits/tortoisesvn.ico</file>
<file>devkits/vcredist.ico</file>
<file>exit.ico</file>
<file>ontop.ico</file>
<file>OpenArk.ico</file>
<file>save.ico</file>
<file>settings.ico</file>
<file>open.ico</file>
<file>refresh.ico</file>
<file>gitub.ico</file>
<file>console.ico</file>
<file>BundlerShell.exe</file>
<file>handle.ico</file>
<file>module.ico</file>
<file>memory.ico</file>
<file>sign/Config.xml</file>
<file>sign/CSignTool.exe</file>
<file>sign/CSignTool.pfx</file>
<file>driver/OpenArkDrv32.sys</file>
<file>driver/OpenArkDrv64.sys</file>
<file>lang/openark_zh.qm</file>
<file>systools/recyclebin.png</file>
<file>systools/cmd.ico</file>
<file>systools/powershell.ico</file>
<file>systools/wsl.ico</file>
<file>systools/calc.ico</file>
<file>systools/firewall.ico</file>
<file>systools/performance.ico</file>
<file>systools/regedit.ico</file>
<file>systools/tasksch.ico</file>
<file>systools/credential.ico</file>
<file>systools/datetime.ico</file>
<file>systools/deskicon.ico</file>
<file>systools/powercfg.ico</file>
<file>systools/program.ico</file>
<file>systools/services.ico</file>
<file>systools/share.ico</file>
<file>systools/taskmgr.ico</file>
<file>systools/uac.ico</file>
<file>systools/users.ico</file>
<file>systools/systeminfo.ico</file>
<file>systools/wallpaper.ico</file>
<file>systools/devmgr.ico</file>
<file>systools/poweroff.ico</file>
<file>systools/reboot.ico</file>
<file>systools/netconnections.ico</file>
<file>systools/resmon.ico</file>
<file>systools/certmgr.ico</file>
<file>systools/eventlog.ico</file>
<file>systools/gpedit.ico</file>
<file>systools/secpolicy.ico</file>
<file>systools/proxy.ico</file>
<file>systools/version.ico</file>
<file>systools/disks.ico</file>
<file>systools/hosts.ico</file>
<file>systools/env.ico</file>
<file>systools/ipv4.ico</file>
<file>systools/ipv6.ico</file>
<file>systools/pcname.ico</file>
<file>systools/route.ico</file>
<file>systools/perfsettings.ico</file>
<file>help.ico</file>
<file>update.ico</file>
<file>systools/resetexplorer.ico</file>
<file>systools/killexplorer.ico</file>
<file>main/run.ico</file>
<file>nasm/rasm2.exe</file>
</qresource>
<qresource prefix="/UI">
<file>ui/memory-rw.ui</file>
</qresource>
</RCC>
Binary file added src/OpenArk/res/revtools/androidkiller.ico
Binary file not shown.
Binary file added src/OpenArk/res/revtools/apkstudio.ico
Binary file not shown.
Binary file added src/OpenArk/res/revtools/as_ssd.ico
Binary file not shown.
Binary file added src/OpenArk/res/revtools/calc.ico
Binary file not shown.
Binary file added src/OpenArk/res/revtools/calcfpu.ico
Binary file not shown.
Binary file added src/OpenArk/res/revtools/cygwin64.ico
Binary file not shown.
Binary file added src/OpenArk/res/revtools/die.ico
Binary file not shown.
Binary file added src/OpenArk/res/revtools/dnspy.ico
Binary file not shown.
Binary file added src/OpenArk/res/revtools/gda.ico
Binary file not shown.
Binary file added src/OpenArk/res/revtools/hddog.ico
Binary file not shown.
Binary file added src/OpenArk/res/revtools/instdrv.ico
Binary file not shown.
Binary file added src/OpenArk/res/revtools/jadx.ico
Binary file not shown.
Binary file added src/OpenArk/res/revtools/jdgui.ico
Binary file not shown.
Binary file added src/OpenArk/res/revtools/loadtest.ico
Binary file not shown.
Binary file added src/OpenArk/res/revtools/mobaxterm.ico
Binary file not shown.
Binary file added src/OpenArk/res/revtools/notepad2.ico
Binary file not shown.
Binary file added src/OpenArk/res/revtools/pdbripper.ico
Binary file not shown.
Binary file added src/OpenArk/res/revtools/pebear.ico
Binary file not shown.
Binary file added src/OpenArk/res/revtools/putty.ico
Binary file not shown.
Binary file added src/OpenArk/res/revtools/rapidee.ico
Binary file not shown.
Binary file added src/OpenArk/res/revtools/redistool.ico
Binary file not shown.
Binary file added src/OpenArk/res/revtools/robo3t.ico
Binary file not shown.
Binary file added src/OpenArk/res/revtools/sqlitestudio.ico
Binary file not shown.
Binary file added src/OpenArk/res/revtools/treesizefree.ico
Binary file not shown.
Binary file added src/OpenArk/res/revtools/uleb128.ico
Binary file not shown.
Binary file added src/OpenArk/res/revtools/vscode.ico
Binary file not shown.
Binary file added src/OpenArk/res/revtools/wiztree.ico
Binary file not shown.
Binary file added src/OpenArk/res/revtools/xelfviewer.ico
Binary file not shown.
14 changes: 10 additions & 4 deletions src/OpenArk/res/ui/memory-rw.ui
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>843</width>
<width>1087</width>
<height>628</height>
</rect>
</property>
Expand Down Expand Up @@ -215,13 +215,13 @@
</property>
<property name="minimumSize">
<size>
<width>535</width>
<width>610</width>
<height>0</height>
</size>
</property>
<property name="font">
<font>
<family>SimSun</family>
<family>Consolas</family>
<kerning>false</kerning>
</font>
</property>
Expand All @@ -230,9 +230,15 @@
</property>
</widget>
<widget class="QTextEdit" name="disasmEdit">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="font">
<font>
<family>SimSun</family>
<family>Consolas</family>
<kerning>false</kerning>
</font>
</property>
Expand Down
Loading

0 comments on commit 29b66ff

Please sign in to comment.