Rogier Neeleman
5 years ago
2 changed files with 20 additions and 0 deletions
@ -0,0 +1,17 @@
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash |
||||
|
||||
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" |
||||
DATUM=`date +%Y%m%d` |
||||
sleep 30 |
||||
|
||||
WFLOG=/root/ssid_dump-$DATUM.txt |
||||
|
||||
# WiFi |
||||
/usr/sbin/airmon-ng start wlan1 >/tmp/airmon.log |
||||
/usr/sbin/tcpdump -ttt -i wlan1mon -e -s 256 type mgt subtype probe-req >>$WFLOG & |
||||
|
||||
BTLOG=/root/bt_dump-$DATUM.txt |
||||
|
||||
# Bluetooth |
||||
hciconfig hci0 up |
||||
while [ 1=1 ]; do date >>$BTLOG; hcitool scan --info --oui --class >>$BTLOG; done & |
Loading…
Reference in new issue