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
I'm working a script that sniffs packets on the network and adds the IP
addresses to newtargets. (
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?
Sent through the nmap-dev mailing list
Archived at http://seclists.org/nmap-dev/
- NSE: Getting IP address from a captured packet Nick Nikolaou (Mar 15)