Giter Club home page Giter Club logo

tt7zcrack's Introduction

tt7zcrack

build codecov

README i18n: 中文说明

Fast 7zip crack assistant tool which support GPU/CPU.

Requirements

Python 3.5 or later. python install

Install

tt7zcrack can be easily installed using pip:

pip install tt7zcrack

Quick Start

Mac

Make sure brew is installed.

Create pwds.txt(example) to store possible passwords, one password occupies one line. you can also use TTPassGen to generate a large amount of passwords.

# use passwords from pwds.txt to crack file
tt7zcrack --wordlist pwds.txt crack.7z

When the crack is complete, password will be shown like this: image

Linux/Windows

Currently not supported.

Usage

tt7zcrack --help
usage: tt7zcrack.py [-h] [--wordlist [WORDLIST]] [--engine {hashcat,jtr}] [--clean] [file]

7z GPU/CPU crack tool

positional arguments:
  file                  7z file path (default: None)

optional arguments:
  -h, --help            show this help message and exit
  --wordlist [WORDLIST]
                        wordlist dict path, you can use 'ttpaasgen' to
                        generate. (default: )
  --engine {hashcat,jtr}
                        password recovery engine (default: hashcat)
  --clean               clean related secure files (default: False)

if the hash file cannot generated correctly, you can use jtr engine to try again.

The cracked password will be saved locally by the password cracking tool for next query. Use the following command to delete it. Note that this will delete all cracked results!

tt7zcrack --clean

7z commands

# install 7z on Mac
brew install p7zip

# compress with password
7z a -p456 test.7z test.txt
# extract with password
7z x -p456 test.7z

# compress without password
7z a test.7z test.txt
# extract without password
7z x test.7z

Thanks

7zhashcat

tt7zcrack's People

Contributors

deepsource-autofix[bot] avatar dependabot[bot] avatar tp7309 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

tt7zcrack's Issues

unfortunately can't be used with john since the data length in this particular case is too long

tt7zcrack --wordlist out.txt --engine jtr xxx.7z

WARNING: the file '/Users/xxx/Downloads/xxx.7z' unfortunately can't be used with john since the data length
in this particular case is too long (2001695840 of the maximum allowed 1073741824 bytes).
Furthermore, it could not be truncated. This should only happen in very rare cases.
No password hashes loaded (see FAQ)

how to solve it , or new way ?

hashfile is empty or corrupt.

When I run
tt7zcrack --wordlist list.txt test.7z

I got this output

perl /usr/local/lib/python3.7/site-packages/src/7z2hashcat.pl test.7z > ttcrack_hash.txt...
hashcat (v5.1.0) starting...

OpenCL Platform #1: Apple
=========================
* Device #1: Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz, skipped.
* Device #2: HD Graphics 4000, 384/1536 MB allocatable, 16MCU

hashfile is empty or corrupt.

Started: Tue May 26 14:28:05 2020
Stopped: Tue May 26 14:28:05 2020
--------------------------------------------crack result--------------------------------------------
hashfile is empty or corrupt.

what's wrong ? what don't install ?

> tt7zcrack --wordlist 9999.txt --engine jtr  wav.7z
perl /usr/local/lib/python3.7/site-packages/src/7z2john.pl wav.7z > ttcrack_hash.txt...
Can't locate Compress/Raw/Lzma.pm in @INC (you may need to install the Compress::Raw::Lzma module) (@INC contains: /Library/Perl/5.18/darwin-thread-multi-2level /Library/Perl/5.18 /Network/Library/Perl/5.18/darwin-thread-multi-2level /Network/Library/Perl/5.18 /Library/Perl/Updates/5.18.4 /System/Library/Perl/5.18/darwin-thread-multi-2level /System/Library/Perl/5.18 /System/Library/Perl/Extras/5.18/darwin-thread-multi-2level /System/Library/Perl/Extras/5.18 .) at /usr/local/lib/python3.7/site-packages/src/7z2john.pl line 6.
BEGIN failed--compilation aborted at /usr/local/lib/python3.7/site-packages/src/7z2john.pl line 6.
No password hashes loaded (see FAQ)
--------------------------------------------crack result--------------------------------------------
0 password hashes cracked, 0 left

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.