4.sh (230B)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#!/bin/sh -e input="bgvyzdsv" i=1038000 while :; do printf "\r%d" "$i" case "$(printf "%s%d" "$input" "$i" | md5sum)" in 00000*) echo; break; ;; esac i=$((i+1)) done wait