🔑 A Python tool for recovering ZIP, 7z, rar archive passwords using parallel processing
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- zipfile
- argparse
- py7zr
- multiprocessing
- signal
- Include a commonly used password dictionary.
- Parallel processing: Distribute the password recovering process across multiple CPU cores.
- Performance logging to monitor the progress of password recovering.
git clone https://github.com/DavidHJong/archive_password_recover.git
cd [Your Downloaded Project Directory]
pip install -r requirements.txt
python archive_password_recover_parallel.py -a <archive> -d <dictionary> -o <output> -p <processes> -m <max-passwords>
-h, --help
: Show help message and exit.-a <archive>, --archive <archive>
: Path to the archive file (zip, 7z, rar).-d <dictionary>, --dictionary <dictionary>
: Path to the password dictionary file.-o <output>, --output <output>
: Path for extracted files.-p <processes>, --processes <processes>
: Specify the number of parallel processes (default is 8).-m <max-passwords>, --max-passwords <max-passwords>
: Set the maximum number of passwords to check (default is 1000).
Contributions to this project are welcome. Please create a pull request with your proposed changes.