Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

John The Ripper not working #48

Closed
jdouliez opened this issue Apr 28, 2021 · 4 comments
Closed

John The Ripper not working #48

jdouliez opened this issue Apr 28, 2021 · 4 comments

Comments

@jdouliez
Copy link

jdouliez commented Apr 28, 2021

Issue

Hi,

With a fresh new default container, the program John The Ripper is not working.

john --fork=4 --format='dynamic=sha512($p.$s)' --wordlist=`fzf-wordlists` hash
zsh: no such file or directory: /opt/tools/john/run/john

The john alias is set to /opt/tools/john/run/john

alias | grep john                       
john=/opt/tools/john/run/john

But the executable file is not present :

find / -name "john*" -type f 2>/dev/null
/opt/tools/john/run/john.conf
/opt/tools/john/run/john.zsh_completion
/opt/tools/john/run/john.bash_completion
/opt/tools/john/doc/extras/john-1.7.9-jumbo-7-licensing-stats.txt
/opt/tools/john/doc/extras/john-1.7.9-jumbo-7-licensing.txt
/opt/tools/john/src/john.asm
/opt/tools/john/src/john.com
/opt/tools/john/src/johnswap.h
/opt/tools/john/src/john_mpi.c
/opt/tools/john/src/john_mpi.h
/opt/tools/john/src/john.h
/opt/tools/john/src/john_build_rule.h
/opt/tools/john/src/john.c
/usr/share/seclists/Passwords/Software/john-the-ripper.txt

Tested on stable and web images.

FIX

Installing (the classic way) john from apt fixes the issue.

apt install john
unalias john
@TonyRode
Copy link

Hey there,

Thanks for reporting the issue.
I'm testing it aswell, the source code of jtr is already there, but indeed it only needs to be compiled.

Waiting the pull request, a cleaner fix in order to use the source code already present :

cd /opt/tools/john/src && ./configure && ./make

--> It creates the missing /opt/tools/john/run/john binary file.

@ShutdownRepo
Copy link
Member

ShutdownRepo commented Jun 23, 2021

@TonyRode @jdouliez can you make sure john is working as you'd expect? (on dev branch or with the dev dockerhub image)

@TonyRode
Copy link

TonyRode commented Jul 5, 2021

Hey Shutdown,
I've just tested it on a fresh build from master branch right now. It's fixed :)

Didn't try dev one (yet).

@ThePorgs ThePorgs deleted a comment from Tharrisq Jul 7, 2021
@ShutdownRepo
Copy link
Member

@TonyRode awesome, thanks!
I'm closing this since a fixed master implies a fixed dev.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants