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