1
0
Fork 0
Some scripts I use or have used in the past.
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.

17 lines
439 B

#!/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 &