Nmap Development mailing list archives

Payloader POC Pass 2


From: jrf <jay.fink () gmail com>
Date: Fri, 5 Mar 2010 19:58:50 -0500

All,

Attached is the latest pass at using an external file for payloads. To
try it out simply do:

 c++ payloader.cc -o payloader
 ./payloader <some_port>

The payload for the port will print. The only items left todo are:
 - deal with a source port if there is a preference for it
 - the u8 port is not working right, not sure why but I am sure it is
   me :)
 - the parser is a little picky about spaces

It works how David described, we map in all the payloads at start with
an init into an associative array then using the std::map iterator we
fetch the payloads we need.

Regards,
 j

Attachment: payloader.cc
Description:

Attachment: nmap-payloads
Description:

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/

Current thread: