Nmap Development mailing list archives

Re: Some hints for nmap scripts


From: Ron <ron () skullsecurity net>
Date: Tue, 02 Dec 2008 07:27:55 -0600

Dirk.Wissmann () atosorigin com wrote:
Hi everybody,

I'm quite new to this list, and even new to nmap, but I did some scanning with it already.

Nmap comes with a script language, and I wanted to use this scripting language for some special purposes. Especially 
the module "packet" for creating and manipulating raw packets is a very interesting module for me.

I tried to use it, but up to now without success. What I wanted to achieve is, that I could create packets with any 
flags arbitrarily set (e.g. a packet with SYN and FIN flag set, just to give you an idea) in order to try to create 
some strange situations.

I already searched the internet to get some examples of how to use this module, but did not find anything. Perhaps 
someone of the cracks here has some examples for me?

Maybe, a major drawback could be, that I use nmap on a windows xp professional with SP2 installed. In this SP2, the 
raw socket support has vanished. So any help (and examples) are very welcome.

Thanks a lot.

It sounds like the "hping3" program is what you want. It can arbitrarily
construct packets from the commandline fairly easily.

Ron


-- 
Ron Bowes
http://www.skullsecurity.org/

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


Current thread: