dot11decrypt
dot11decrypt copied to clipboard
arm build compiles but creates tap0 interface with no output
Hello! I've ran into an issue when running your program on a PI3B: Here are the system specs: Hardware:
PI3B Running latest Raspberry PI OS 32Bit
USB Connected : Alfa Network AWUS036NEH EU 2,4 Ghz (RT3070 Driver)
Software prerequisites installed:
libpcap-dev (apt version 1.8.1-3)
libssl-dev (apt version 1.1.0l-1~deb9u1)
cmake (apt version 3.7.2-1)
libtins (installed and compiled from source version 4.4) (Also attempted using the libtins-dev apt package)
Steps to replicate on a fresh install:
- mkdir build
- cd build
- cmake ..
- make
The program compiles but with the following warning:
Scanning dependencies of target dot11decrypt
[ 50%] Building CXX object CMakeFiles/dot11decrypt.dir/dot11decrypt.cpp.o
/home/pi/dot11decrypt/dot11decrypt.cpp: In function ‘void decrypt_traffic(unique_fd, const string&, decrypter_tuple)’:
/home/pi/dot11decrypt/dot11decrypt.cpp:333:39: warning: ‘Tins::Sniffer::Sniffer(const string&, unsigned int, bool, const string&, bool)’ is deprecated [-Wdeprecated-declarations]
Sniffer sniffer(iface, 2500, false);
^
In file included from /usr/local/include/tins/dns.h:38:0,
from /usr/local/include/tins/tins.h:33,
from /home/pi/dot11decrypt/dot11decrypt.cpp:25:
/usr/local/include/tins/sniffer.h:369:5: note: declared here
TINS_DEPRECATED(Sniffer(const std::string& device, unsigned max_packet_size,
^
[100%] Linking CXX executable dot11decrypt
[100%] Built target dot11decrypt
When running the program as instructed. (after placing the card into monitor mode on correct channel):
sudo ./dot11decrypt wlan1 wpa:[SSID]:[pass]
Using device: tap0
Device is up.
AP found: [SSID]: [MAC]
Captured handshake for [SSID] [MAC]:[MAC]
When i then attach a program such as tshark to the interface no decrypted packets (or any packets) are produced. However when also running another tshark instance on the original wlan1 interface encrypted packets are clearly being captured in monitor mode.
Any advice or ideas would be greatly appreciated!