|go ahead... be a heretic|
Net::Pcap with wirelessby trevelyn (Novice)
|on Sep 13, 2009 at 00:03 UTC||Need Help??|
trevelyn has asked for the wisdom of the Perl Monks concerning the following question:
Hi. I created a Perl app that searches Airodump's output plain text file for MAC addresses and matches one that is specified. I would like to have no dependencies anymore and I would like to create a program that reads all data from a wireless device that is NOT associated with an AP, but simply sniffing (wardriving).
I have the proper drivers installed on WeakNet Linux to sniff in promiscuous mode, and I can with Airodump-ng.
I have tried utilizing all I can in CPAN, including: Net::Pcap; Net::PcapUtils; NetPacket::Ethernet;
None seem to work properly when I specify a wireless device rather than a wired device and all I want to do is to be able to drive around and decode the packets from, say, wlan0 to pull out MAC addresses in which i can search for a particular MAC specified.
I would rather not have someone else code this as I would like to learn more than anything, but I just want to know the right direction. Or maybe have some code samples.
Thanks in advance,
Douglas. here is the code I have that produces output, just wrong output: