Automating x64dbg using Python, Snapshots:
C C++ Python Other
Switch branches/tags
Clone or download
Pull request Compare This branch is 90 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 22, 2018
pybind11 @ add56cc add Module class in scriptapi module Jan 22, 2018
res added menu icon Jul 11, 2015
scriptapi add Module class in scriptapi module Jan 22, 2018
swig Now we pass written data (in stdout/stderr hook) to the original file Jul 10, 2018
.editorconfig added editorconfig Jul 23, 2016
.gitignore Update GitIgnore, Install32/64 Fix For WIN10 Jul 22, 2016
.gitmodules initial commit for scriptapi with pybind11 (simple static function co… Apr 11, 2017
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 AppVeyor badge Mar 19, 2017
copy_plugins.bat added ExecutePythonScriptA and ExecutePythonScriptW exports Jul 23, 2016
install.bat Taken from x64dbg testplugin May 29, 2015
install32.bat update release script to include scriptapi.pyd Jan 22, 2018
install64.bat update release script to include scriptapi.pyd Jan 22, 2018
pluginmain.cpp automatically find Python installation + x64dbg_python (and other pac… Jun 26, 2016
pluginmain.h updated pluginsdk Jan 22, 2018
py.cpp added traceexecute event callback Oct 14, 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 finished implementation for the memory class (help(scriptapi.memory) … Apr 11, 2017
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

Build status

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).