TypicalAM / Yarilo

Wireless Network Traffic Decrypter & Packet Analyzer
4 stars 0 forks source link

Automatically detect device and put it in monitor mode #6

Closed TypicalAM closed 5 months ago

TypicalAM commented 7 months ago

Make sure that the external network card is attached and turn on rfmon mode. Maybe libtins or pcap has a solution to this. Look into Tins::Sniffer (sniff on interface x) and this tutorial page on sniffing.

TypicalAM commented 5 months ago

Monitor mode is set with pcap_set_rfmon(), and pcap_can_set_rfmon() can be used to determine whether an adapter can be put into monitor mode. We are already linking against libpcap so this shouldn't be an issue.

TypicalAM commented 5 months ago

We won't automatically detect the device. We automatically turn on monitor mode as of 2e41d64.