Login Register






The stories and information posted here are artistic works of fiction and falsehood. Only a fool would take anything posted here as fact.
Thread Rating:
  • 0 Vote(s) - 0 Average


Tutorial How to unlock a password protected zip file filter_list
Author
Message
How to unlock a password protected zip file #1
Hey Sinisterly. I wrote a script that uses a dictionary of your choosing to brute force the selected zip file. If you have any problems or questions let me know, I'll mess around with the code.

Code:
#!/usr/bin/python
#Locked File Cracker
import zipfile
import os
os.system('clear')
print("#####################################")
print("#       Locked File Unlocker        #")
print("#          For Sinister.ly          #")
print("#####################################\n")
protected = raw_input("File to Decode: ")
dictionary = raw_input("Password File: ")
print("\nFinding password...")
pwFile = zipfile.ZipFile(protected)
passFile = open(dictionary)
for line in passFile.readlines():
    password = line.strip('\n')
    try:
        pwFile.extractall(pwd=password)
        print '\n[+] Password = ' + password + '\n'
        exit(0)
    except Exception, e:
        pass

Enjoy!
[Image: UqnbEnhuX4XX2lQQM1tMb7qwtA0nGmqefKQtGJQG...-h185-p-no]

[+] 2 users Like SubZ3r0's post
Reply

RE: How to crack a password protected zip file #2
Cracking isn't brute forcing with a dictionary

[+] 4 users Like lux's post
Reply

RE: How to crack a password protected zip file #3
Despite this not being cracking, it is still fully functional code. Thanks for the share!
Scientia potentia est

[Image: inkexplosion.jpg]

[+] 1 user Likes DarkMuse's post
Reply

RE: How to crack a password protected zip file #4
(03-29-2016, 01:53 AM)lux Wrote: Cracking isn't brute forcing with a dictionary

My apologies, my mannerisms use cracking as a method of obtaining a password. I was unaware that the difference was so great, but now I understand. I'll edit it, thanks for the correction!

(03-29-2016, 03:17 AM)DarkMuse Wrote: Despite this not being cracking, it is still fully functional code. Thanks for the share!

Fixed, thank you for the help!
(This post was last modified: 03-29-2016, 02:00 PM by SubZ3r0.)
[Image: UqnbEnhuX4XX2lQQM1tMb7qwtA0nGmqefKQtGJQG...-h185-p-no]

[+] 2 users Like SubZ3r0's post
Reply

RE: How to unlock a password protected zip file #5
Nice and useful little code, good job, and keep it up.

[+] 2 users Like Cyber Warrior's post
Reply

RE: How to unlock a password protected zip file #6
Wow. I'm so impressed!! Can you show me more?!

[+] 1 user Likes pvnk's post
Reply

RE: How to unlock a password protected zip file #7
Thanks for sharing this code!
#PythonMasterRace

[+] 2 users Like m0dem's post
Reply

RE: How to unlock a password protected zip file #8
(03-29-2016, 03:35 PM)Cyber Warrior Wrote: Nice and useful little code, good job, and keep it up.

Thank you. I quite like your tutorials too. My favorites are the WiFi hacking ones.
[Image: UqnbEnhuX4XX2lQQM1tMb7qwtA0nGmqefKQtGJQG...-h185-p-no]

[+] 2 users Like SubZ3r0's post
Reply







Users browsing this thread: 1 Guest(s)