Skip to content

Instantly share code, notes, and snippets.

@rjvdw
Last active August 22, 2020 12:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rjvdw/49c2513ad1cb02d4f5d23124a0449f4c to your computer and use it in GitHub Desktop.
Save rjvdw/49c2513ad1cb02d4f5d23124a0449f4c to your computer and use it in GitHub Desktop.
Simple example of brute forcing an encrypted zip file
#!/bin/bash
while read line; do
unzip -P $line secret.zip && break
done < file.txt
foo
bar
baz
pass123
qux
quz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment