Automating x64dbg using Python, Snapshots:
C C++ Python Objective-C Other
Pull request Compare This branch is 70 commits ahead, 1 commit behind realgam3:v25.
Permalink
Failed to load latest commit information.
hooks Taken from x64dbg testplugin May 29, 2015
pluginsdk updated pluginsdk Jan 3, 2017
res added menu icon Jul 11, 2015
swig fixed swig duplicate name error Oct 29, 2016
.editorconfig added editorconfig Jul 23, 2016
.gitignore Update GitIgnore, Install32/64 Fix For WIN10 Jul 22, 2016
AStyle.dll Taken from x64dbg testplugin May 29, 2015
AStyleWhore.exe formatting + updated pluginsdk to latest version (26-6-2016) Jun 26, 2016
LICENSE Initial commit May 29, 2015
README.md Code Beautify Jul 30, 2016
copy_plugins.bat added ExecutePythonScriptA and ExecutePythonScriptW exports Jul 23, 2016
install.bat Taken from x64dbg testplugin May 29, 2015
install32.bat added ExecutePythonScriptA and ExecutePythonScriptW exports Jul 23, 2016
install64.bat finally fully fixed the build script Jul 24, 2016
pluginmain.cpp automatically find Python installation + x64dbg_python (and other pac… Jun 26, 2016
pluginmain.h renamed to x64dbgpy Jun 26, 2016
py.cpp allow passing of arguments from all the variants of the script comman… Jan 3, 2017
py.h better commands Dec 29, 2016
resource.h renamed to x64dbgpy Jun 26, 2016
setenv.bat Work with the latest snapshot, pip feature added (for future plugin m… Oct 9, 2015
stringutils.cpp formatting + updated pluginsdk to latest version (26-6-2016) Jun 26, 2016
stringutils.h formatting + updated pluginsdk to latest version (26-6-2016) Jun 26, 2016
x64dbgpy.h allow passing of arguments from all the variants of the script comman… Jan 3, 2017
x64dbgpy.rc renamed to x64dbgpy Jun 26, 2016
x64dbgpy.sln renamed to x64dbgpy Jun 26, 2016
x64dbgpy.vcxproj back to vs2015 Oct 29, 2016
x64dbgpy.vcxproj.filters added ExecutePythonScriptA and ExecutePythonScriptW exports Jul 23, 2016
x64dbgpy.vcxproj.user renamed to x64dbgpy Jun 26, 2016

README.md

x64dbgpy

Automating x64dbg using Python.

Works with: http://releases.x64dbg.com

Get PyQt5 here. Video tutorial here.

To develop you will need:

  1. Visual Studio 2015 Community: https://www.visualstudio.com/en-us/downloads/download-visual-studio-vs.aspx
  2. Python 2.7 x64 + x86 && pip (Python 2.7.10 has pip on it) - https://www.python.org/downloads/release/python-2710/
  3. Microsoft Visual C++ Compiler for Python 2.7: http://www.microsoft.com/en-us/download/details.aspx?id=44266
  4. PyCharm Community Edition (If you are python developer) : https://www.jetbrains.com/pycharm/download/

To install and test:

  1. Install Python 2.7.10 (x64 + x86) In seperate folders
  2. Install Visual Studio 2015 Community.
  3. Open setenv.bat from the project folder.
  4. Compile the win32 and win64 dlls.
  5. Copy the release folder from the snapshot to the project directory.
  6. Run install32.bat and install64.bat.

Contributors:

  1. Run install.bat (git hook for code buetify)
  2. Test your code
  3. Read PEP8: https://www.python.org/dev/peps/pep-0008/

Example scripts:

Help:

  • I need help with the swig / cpp development,
  • Translating the event callbacks to swig and use it without the code in py.cpp file.
  • Connecting ipython interpreter to x64dbgpy.
  • Python multiprocessing with x64dbgpy plugin (Python embedded).