top of page
  • Writer's pictureTimmy TSENG

John the Ripper Jumbo


Installation code required packages

sudo apt-get update

sudo apt-get install libssl-dev

sudo apt-get install build-essential

sudo apt-get install libbz2-dev

Enter src to start compiling and installing

cd john/src

Compile to enable gpu

./configure --enable-opencl

make -s clean && make -sj4

Check how many GPUs and CPUs John can use

./john --list=opencl-devices

Using 4CPU 8RAM cracking speed, it takes 103 hours to crack five lowercase English numbers

Using 4 Tesla T4 GPUs, it only takes 10 hours to crack five lowercase English numbers, which is 10 times faster (the size of this 7z file is about 1G)


 

Decompress zip archives

~/john/run/john --format=zip-opencl --mask=[mycharset.chr] --min-length=1 --max-length=12 solomon_hash.txt --devices=2,3,4,5 --fork=4




 

Crack 7z compressed files

perl 7z2john.pl ~/japan.7z > japan7zhash.txt


If you encounter the following error, it means that the Compress::Raw::Lzma module is missing

Can't locate Compress/Raw/Lzma.pm in @INC (you may need to install the Compress::Raw::Lzma module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1 /usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.32 /usr/share/perl/5.32 /usr/local/lib/site_perl) at 7z2john.pl line 6.

BEGIN failed -- compilation aborted at 7z2john.pl line 6.


You need to run the following command to install the missing package:

sudo apt-get install liblzma-dev

sudo cpan Compress::Raw::Lzma



~/john/run/john --format=7z-opencl --mask=[mycharset.chr] --min-length=1 --max-length=8 /home/qoo7972365/japan7zhash.txt --devices=1,2,3,4 --fork=4



 



./john/run/john --mask=tim my?l?l?l?l?l --min-length=10 --max-length=10 japan7zhash.txt




0 views0 comments

Recent Posts

See All

Windows adds a digital signature to exe

Generate a self-signed root certificate makecert -n "CN=Microfost Windows" -r -sv Root.pvk Root.cer This command uses the makecert tool to create a self-signed root certificate with the certificate na

AMON-Eye: Advanced Malware Toolkit

Overview In today's digital world, cyber threats have become increasingly serious, and malware attacks have posed a huge threat to the data security of organizations and individuals. Cobaltstrike is a

Comments


bottom of page