Using Bash to Automate Cracking Password Protected 7z files

7-Zip

7-Zip is a file archiver with a high compression ratio. Sometimes you encounter password protected ones, simply use this script below with a wordlist of your choice for unlimited, un-throttled and limitless brute-forcing attempts. If this is a CTF style box or challenge, try rockyou.txt first, it’s nearly always the right choice.