Tags: lame
Rating: 3.0
Download uhaha and save as uhaha.orig, then from Linux with wine, 7z installed (snag a copy of rockyou.txt as well):
```
#!/bin/bash
test -r uharc-cmd-install.exe || wget https://sam.gleske.net/uharc/uharc-cmd-install.exe
test -r bin/uharc.exe || 7z x uharc-cmd-install.exe bin/uharc.exe
test -r uhaha.uha && mv -v uhaha.uha uhaha || cp -v uhaha.orig uhaha
>passwords
while :
do
test -r uhaha && mv -v uhaha uhaha.uha || exit 1
for i in $(head -500 rockyou.txt)
do
echo PASS: $i
if wine bin/uharc.exe e -pw$i uhaha
then
echo $i >>passwords
break
fi
done
done
```
After outer loop exit (50 passes):
```
# strings flag.png | grep flag
flag{ec8753d9932766b1724618b5ad12de13}
```