You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
439 B
18 lines
439 B
4 years ago
|
#!/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 &
|