TypicalAM / Yarilo

Wireless Network Traffic Decrypter & Packet Analyzer
https://yarilo.piaseczny.dev
7 stars 0 forks source link

Automatically detect device and put it in monitor mode #6

Closed TypicalAM closed 8 months ago

TypicalAM commented 11 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 8 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 8 months ago

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