Nmap Development mailing list archives

Payloads POC IV


From: jrf <jay.fink () gmail com>
Date: Thu, 15 Apr 2010 10:29:07 -0400

All,

After working offline with David I've come up with the code for
integrating into nmap the capability to control payloads in a file
instead of inside the payloads.cc file itself. In short we won't have
to recompile to add or try out payloads.

Note that it does a conversion so *looking* at payloads will not work
quite right unless you edit payloader.cc and uncomment the DEBUG
define.

In order to try it out just:

c++ -o payl payloader.cc 
./payl <port>

The code is heavily commented to show what will go where. There are
some questions marked with XXX. Last and not least, it passes valgrind
(yay)...

Unless there are major problems with it I will start working on the
patch next week... going to a cabin this weekend :)

 j

Attachment: nmap-payloads
Description:

Attachment: payloader.cc
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: