Guest User

Untitled

a guest
Jan 13th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  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
Add Comment
Please, Sign In to add comment