I just wanted to share a python script I wrote to brute force a file encrypted with gpg.

NOTE: This only works if the file was symmetrically encrypted with a passphrase. This will NOT work if it it requires a private key.

However, if you managed to also obtain the private key for the file, you should be able to simply add the argument to the gpg command in the script and it should be able to brute force from there.

Python 2.x/3.x

Let me know if you have any recommendations to improve the script or need help running it.

Thanks!

GPG Brute Force Script

Leave a Reply