View previous topic :: View next topic |
Author |
Message |
chris.c.hogan Apprentice
Joined: 02 Oct 2005 Posts: 189
|
Posted: Mon Aug 22, 2011 10:09 pm Post subject: johntheripper incomplete install |
|
|
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 |
|
|
aLPHa_NRG n00b
Joined: 09 Jan 2012 Posts: 1
|
Posted: Mon Jan 09, 2012 3:13 pm Post subject: |
|
|
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 |
|
|
tux_mind n00b
Joined: 26 Feb 2012 Posts: 21
|
Posted: Sat Apr 21, 2012 5:55 pm Post subject: |
|
|
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 |
|
|
athena810 Apprentice
Joined: 23 Jun 2012 Posts: 176
|
Posted: Tue Aug 21, 2012 3:08 pm Post subject: |
|
|
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 |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Wed Aug 22, 2012 1:24 pm Post subject: |
|
|
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 |
|
|
|