2009-10-12

Setting Up Pydbg

 
 

Sent to you by l5g via Google Reader:

 
 

via From a malicious attacker by Jason on 1/27/07

This post should provide guidance to the individual looking to setup pydbg with the least amount of headache. When last I tried, PaiMei didn't play nice running under cygwin Python. Things worked much better under Python for Windows. I recommend creating a VMware image and then setting up shop in the image. Once you have a suitable image setup, install Python 2.4 for Windows. Next, download and run the ctypes installer for windows.

Now you're ready to install PaiMei. Download it from OpenRCE. Extract the zip file and execute the installer found in the installers directory. If you chose to install under VMware, there is a small hack you may need to implement before pydbg will work correctly inside VMware. To verify that you have a working installation, download my test script, fire up notepad.exe and execute the script. If the script barfs with an error, something is wrong. Otherwise, you are now ready to begin debugging applications from Python.

 
 

Things you can do from here:

 
 

No comments:

Post a Comment