This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#crunch 6 6 -t P8%%%% -o words.txt | |
for i in $(cat ./words.txt); do | |
#res=$(echo $i | ./dowload.elf ) | |
#echo $res | |
echo "probando la password $i" | |
correct=$(timeout 1s echo $i | ./dowload.elf | cut -f3 -d ' ') | |
if [ "$correct" == "Correct" ]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
palabra="v7xUVE2e5bjUc" | |
#echo $(timeout 8s sshpass -p 'h1hnDPHpydEjoEN' ssh [email protected] -p 5000 2>&1 ) | grep -o "denied" | |
#desde el x comienza el bucle pues la contraseña es palabra"xw" | |
for i in {x..z}; do | |
for k in {u..z};do | |
combinacion="${palabra}${i}${k}" | |
echo \'$combinacion\' |