-
Notifications
You must be signed in to change notification settings - Fork 675
Debugging Meterpreter(s)
Brendan edited this page Jan 16, 2018
·
6 revisions
#define DEBUGTRACE 1
Add that to whatever file you would like to debug, then use dprintf([format string])
For more information, see the code responsible for it in common.h by searching for the DEBUGTRACE macro.
Once that is in place, run debugView as admin on the machine running the payload. Be sure to select "Global_Win32" messages in the "Capture" dropdown box.
When setting up the handler for the connection in msfconsole:
set PythonMeterpreterDebug True