|
Small PyDBG Enhancements Incoming
Just waiting for Pedram to update SVN, but I thought I would post quickly. Some additions to PyDBG: 1) pydbg.pid_to_port(pid) This function returns a list of tuples with the protocol, bound address and port number that a given process owns. So the following (originally from Pedram) for the [System] process: Then its trivial to enumerate all processes and retrieve each process's listening ports. 2) utils.hooking.inject() This is a migration of my PyFault code to allow for dll injection and ejection. Again pretty straightforward: So nothing earth shattering but some quick and dirty utility functions. Now I will get on Pedram's case about committing the changes :) Comments
| ||||||