picoctf/misc/pw_crack_5/solve.sh

7 lines
132 B
Bash
Executable File

#!/usr/bin/env bash
for pw in $(cat ./dictionary.txt); do
echo "$pw"
./level5.py <<<"$pw" | grep -o 'picoCTF{.*}' && exit 0
done