Last active
August 22, 2020 12:21
-
-
Save rjvdw/49c2513ad1cb02d4f5d23124a0449f4c to your computer and use it in GitHub Desktop.
Simple example of brute forcing an encrypted zip file
This file contains 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
#!/bin/bash | |
while read line; do | |
unzip -P $line secret.zip && break | |
done < file.txt |
This file contains 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
foo | |
bar | |
baz | |
pass123 | |
qux | |
quz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment