Skip to content

Malware University

Class is in Session

  • About
    • Privacy Policy
  • Contact
  • Resources

7zip Password Cracker (BASH)

Posted on December 21, 2020 by admin

Dependency: p7zip GNU package.

#!/bin/bash
# @(#) p7crack -- Password crack a target 7z file
# Usage:  ./p7crack.sh <target_file>

declare -a LIST=(password1 password2 password3)

for x in ${LIST[@]); do
   7z x ${1} -p${x}
   if [ $? -eq 0 ]; then
      echo "${x} is the password"
   fi
done
Posted in Utilities

Post navigation

Generic Win32 Ransomware Template
Yandex Employee Selling Access to Mailboxes

Leave a Reply Cancel reply

You must be logged in to post a comment.

Recent Posts

  • Manual Scraping
  • Nitter Replacement
  • MFA Abuse in Splunk
  • Virtualbox Automation
  • Repository Poisoning

Recent Comments

    Archives

    • August 2024
    • July 2023
    • August 2022
    • March 2022
    • November 2021
    • October 2021
    • September 2021
    • August 2021
    • July 2021
    • June 2021
    • February 2021
    • December 2020
    • October 2020
    • September 2020
    • April 2020
    • March 2020
    • January 2020
    • July 2019
    • June 2019

    Categories

    • Campaign Analysis
    • Campaign Management
    • Code Analysis
    • Current Events
    • Malware Development
    • Techniques
    • Uncategorized
    • Utilities

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org
    Proudly powered by WordPress | Theme: micro, developed by DevriX.