Skip to content

Instantly share code, notes, and snippets.

@v-p-b
Created June 13, 2011 14:55
Show Gist options
  • Save v-p-b/1022917 to your computer and use it in GitHub Desktop.
Save v-p-b/1022917 to your computer and use it in GitHub Desktop.
PyDbg install tips
http://code.google.com/p/paimei/ - As of r253
- You need pydasm, it is included in the libdasm package. v1.5 is fine, you don't want to fight with the bugs of the unstable version - http://code.google.com/p/libdasm/
- PyDasm will cry about MSVC scripts but you don't need those. Install MinGW (with C++ support?) - http://www.mingw.org/
- Add MinGw's bin directory to your path or else it won't find gcc
- Remove the -mno-cygwin parameters from pythonXX\lib\distutils\cygwinccompiler.py, remove the .pyc to recompile
- setup.py build_ext --compiler=mingw32
- setup.py install may fail. Install the lib by copying the .pyd file from the build directory to PythonXX\Lib\site-packages
- You don't need PaiMei's dependencies to use PyDbg, just simply build and install with setup.py
- Remove the bundled pydasm.pyd from the PaiMei package
For additional frustrations see:
http://www.glamenv-septzen.net/en/view/13
http://louppen.wordpress.com/2011/06/22/installing-the-sulley-fuzzer-framework-on-windows-xp-professional-the-trial-and-error-way/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment