Nmap Development mailing list archives
NSE: Getting IP address from a captured packet
From: Nick Nikolaou <nikolasnikolaou1 () gmail com>
Date: Tue, 15 Mar 2011 00:00:07 +0000
Hey everyone, I'm working a script that sniffs packets on the network and adds the IP addresses to newtargets. ( https://secwiki.org/w/Nmap_Script_Ideas#targets-sniffer) Using pcap_receive() I'm able to capture packets but I'm not really sure what Layer 3 data pcap_receive() returns and I'm having trouble getting the IP addresses from the packets. Can anyone shed some light on this? Thanks Nick _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- NSE: Getting IP address from a captured packet Nick Nikolaou (Mar 14)
- Re: NSE: Getting IP address from a captured packet epixoip (Mar 14)
- Re: NSE: Getting IP address from a captured packet Henri Doreau (Mar 15)