N
N
NN2020-12-20 03:17:29
Zip
NN, 2020-12-20 03:17:29

How to find out the password of an archive using brute force?

The fact is that no matter how much I searched for a library for this, I didn’t find it, it’s about brute force Zip archives in python, there is a built-in library, but it cannot unzip the archive with a password
. Does anyone know how to do this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrew, 2020-12-20
@deepblack


it's about brute force Zip archives in python

The Python standard library can only work with archives encoded using CRC-32.
The fact is that no matter how much I searched for a library for this, I did not find

Found options from the first query in Google.
To unpack zip aes, you can try the following options:
1. The simplest (call 7z):
import subprocess
subprocess.call(["7z", "x", "-ppassword", "test.zip"])

2. Use a third-party pyzipper
library It's easy: write the code for brute.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question