daily pastebin goal
0%
SHARE
TWEET

Untitled

a guest Jan 13th, 2018 38 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/sh
  2. PRE="SP-"
  3. echo "Please enter the AP information:"
  4. echo -n "SSID: "
  5. read SSID
  6. echo -n "MAC: "
  7. read MAC
  8. echo "Where do you want to save the output?"
  9. echo -n "FILENAME: "
  10. read FILENAME
  11. D=${MAC:13:1}
  12. E=${MAC:15:1}
  13. F=${MAC:16:1}
  14. G=${SSID:9:1}
  15. H=${SSID:10:1}
  16. for X in {0..9}; do
  17.   for Y in {0..9}; do
  18.     for Z in {0..9}; do
  19.       echo $PRE$G$Z$H$D$E$F$X$Y$Z >>$FILENAME
  20.     done
  21.   done
  22. done
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top