-
-
Save j100002ben/c9c1d39baa213287d0ec9991a5599cc6 to your computer and use it in GitHub Desktop.
Achieve fcrackzip parallel cracking by using xargs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| logfile=$(date +%Y%m%d%H%M).log | |
| targetfile=test.zip | |
| # Start 1 processes for cracking mixalpha-numeric maximum 5 digits | |
| fcrackzip -c Aa1 -b -l 1-5 --verbose -u $targetfile & >> $logfile & | |
| # Start 62 processes for cracking mixalpha-numeric equal to 6 digits | |
| eval echo\ {A..Z}AAAAA\; | xargs -I % -P 26 fcrackzip -c Aa1 -b -p % --verbose -u $targetfile >> $logfile & | |
| eval echo\ {a..z}AAAAA\; | xargs -I % -P 26 fcrackzip -c Aa1 -b -p % --verbose -u $targetfile >> $logfile & | |
| eval echo\ {0..9}AAAAA\; | xargs -I % -P 10 fcrackzip -c Aa1 -b -p % --verbose -u $targetfile >> $logfile & | |
| tail -F $logfile | grep FOUND |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment