Skip to content

Instantly share code, notes, and snippets.

View lund133369's full-sized avatar
🏠
Working from home

Edgar D.Huamani H. lund133369

🏠
Working from home
View GitHub Profile
@lund133369
lund133369 / 021_hackmyvm.sh
Last active January 31, 2024 08:17
hackmyvm challenges 021 reversing , script brute force for binari , analize with ghydra
#!/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
@lund133369
lund133369 / script.sh
Last active January 30, 2024 19:04
ssh_brute_force , no optimazed , ctf venus hackmyvm
#!/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\'