Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
johntheripper incomplete install
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
chris.c.hogan
Apprentice
Apprentice


Joined: 02 Oct 2005
Posts: 189

PostPosted: Mon Aug 22, 2011 10:09 pm    Post subject: johntheripper incomplete install Reply with quote

I have an old rar file that I've forgotten the password to and figured I try John the Ripper on it. I've never used the program before. After installing it, I noticed several strange things about the installation.

First, several commands are missing:
zip2john
ssh2john
rar2john
pdf2john

Then, python and perl scripts are installed in /etc/john:
netscreen.py
sap_prepare.pl

A few scripts are not installed at all:
ldif2pw.pl
netntlm.pl
sha-dump.pl
sha-test.pl

Before I file a bug, I just wanted to make sure I'm not completely nuts...

Is there a reason the complete command set is not installed? Why would scripts ever be installed in /etc? Shouldn't they go in /usr/sbin or somewhere under /usr/share?

[ebuild R ] app-crypt/johntheripper-1.7.8 USE="openmp sse2 -custom-cflags -minimal (-mmx)"

Thanks for any info...
Back to top
View user's profile Send private message
aLPHa_NRG
n00b
n00b


Joined: 09 Jan 2012
Posts: 1

PostPosted: Mon Jan 09, 2012 3:13 pm    Post subject: Reply with quote

I have exactly the same! The program also complains about this error:

fopen: /usr/sbin/john.ini: No such file or directory

But this is another issue. It indeed feels like it is incomplete. I hope there will be a solution soon.
Back to top
View user's profile Send private message
tux_mind
n00b
n00b


Joined: 26 Feb 2012
Posts: 21

PostPosted: Sat Apr 21, 2012 5:55 pm    Post subject: Reply with quote

aLPHa_NRG wrote:
I have exactly the same! The program also complains about this error:

fopen: /usr/sbin/john.ini: No such file or directory

But this is another issue. It indeed feels like it is incomplete. I hope there will be a solution soon.


Hi, have you solved the issue??
i'm with johntheripper-1.7.6-r1 on amd64, which is marked as stable, but it gives me the same problem.
if I cd /etc/john it works.
Back to top
View user's profile Send private message
athena810
Apprentice
Apprentice


Joined: 23 Jun 2012
Posts: 176

PostPosted: Tue Aug 21, 2012 3:08 pm    Post subject: Reply with quote

just for reference of future people...so, basically, the problem was that it should have been in sbin, what you had to do was move the sbin file `john` to the /etc/john, then copy the entire directory john into /usr/sbin. Here are the commands:
Code:

mv /usr/sbin/john /etc/john
cp -r /etc/john /usr/sbin
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Wed Aug 22, 2012 1:24 pm    Post subject: Reply with quote

athena810 wrote:
just for reference of future people...so, basically, the problem was that it should have been in sbin, what you had to do was move the sbin file `john` to the /etc/john, then copy the entire directory john into /usr/sbin. Here are the commands:
Code:
mv /usr/sbin/john /etc/john
cp -r /etc/john /usr/sbin

athena810 ... no, no ... the files in /etc/john, except for the perl and ruby scripts, are data and config files ... they should not be moved to /usr/sbin. Besides, you are moving /usr/sbin/john only to copy it back with the subsequent command, leaving a 'copy' of the binary in /etc/john.

aLPHa_NRG ... john expects a --config= and it looks in the directory in which it is run, dumb behavior but thats how its coded, so provide --config=/path/to/config as a command parameter.

chris.c.hogan ... I think the 'missing' zip2john, etc, are only provided by later 'jumbo' patchsets, which are probably only included in later ebuilds.

best ... khay
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum