0
What I have is the below script for password guessing. How can I make it parallel by using command parallel
? I know that there is no parallel in Cygwin, but I can use this script on Linux machine.
#!/bin/bash
while read -r p; do
"/cygdrive/c/Program Files/TrueCrypt/TrueCrypt.exe" /a /s /l x /q /v container.tc /p"$p"
code=$?
echo "$code $p">>log.txt
echo "$code $p"
if [ "$code" -ne 1 ]; then echo "$p" >> found.txt ; echo -e "\\a" ; exit ; fi
done < passwds.txt
echo -e "\\a"
And the question is what ? – matzeri – 2017-09-18T19:06:55.180