x64dbg Python first test release by Tomer Zait

Storm Shadow

Administrator
Staff member
Developer
Ida Pro Expert
Elite Cracker
Today x64dbg got its own python plugin.

Tomer Zait(Aka Realgame3) have spend the latest couple of month writing this awsome plugin.


https://github.com/realgam3

Its now part of the official x64dbg repo (branch v25)

https://github.com/x64dbg/x64dbg-python/tree/v25

This tread will be updated with build instruction.
And this thread is a help thread for x64dbg.







Build instructions:

needed :

Microsoft Visual C++ Compiler for Python 2.7
https://www.microsoft.com/en-us/download/details.aspx?id=44266

Latest snapshot of x64dbg
http://sourceforge.net/projects/x64dbg/files/snapshots/

Swig (windows one)
http://www.swig.org/download.html
NP! remember to add swig.exe to PATH

build first vs project to output the x64dbg-python.dll

gotto the swig folder and run via Visual C++ for Python command prompt

Code:
build32.bat


if you get a error
Code:
Unable to find vcvarsall.bat

try

Code:
set MSSDK=1
set DISTUTILS_USE_SDK=1
then it should build

if it complete without error.
go back to main folder and run



Code:
install32.bat

build will be put in the x64dbg-python\swig\build\lib.win32-2.7\x64dbg_python
x64dbg-python.dll will be renamed to x64dbg-python.p32

now add release to x64dbg like this

x64dbg-python.dp32 in x64dbgfolder\plugins\x64dbg-python.dp32

and

x64dbg-python\swig\build\lib.win32-2.7\x64dbg_python to

x64dbgfolder\plugins\x64dbg_python


HOW TO USE:
in X64dbg goto log window
in command line
type
Code:
python "command()"

for now you cant not have double quotes within the command

Code:
python "help("time")"

you have to do single quotes like this
Code:
python"help('time')"

to explore x64dbg-python

Code:
python "help('x64dbg_python')"


Fvfjjul.png



More to come.
 
Last edited:

GMOD

New member
hi storm great work, could you upload x64dbg-python.dp32 and x64dbg-python.dp64 plugin here
 

Storm Shadow

Administrator
Staff member
Developer
Ida Pro Expert
Elite Cracker
Tomer Zait have been working on adding python for x64dbg.
Me and @Mr.Exodia been helping him.

Tomer is pretty busy at work so, i have added some stuff to the plugin.





I prebuilded a PyQt4 package framework 4.8.7
i Modded Batch install script so it will add x64dbg64 spesial build to the release.
added code recognition to editor.
added Python editor to x64dbg
Ton of small things




Here is a video i made so you can learn how to build it from scratch.


Here a little intro to x64dbg python and use of the editor in x64dbg.





links
Official x64dbg github https://github.com/x64dbg/x64dbg-python

My changes are not pulled yet so here is mine.
https://github.com/techbliss/x64dbg-python/tree/v25


Here is a prebuilded link of the intire package so you can test it out.
Watch first youtube video so you know wher to put it.



https://mega.nz/#!Co8lCAII!mX2sr6fo6_mEd5QK1rZ0l8UQjwgV5RK0nFS9dJsQyFk
 
Top