John the ripper


 
Thread Tools Search this Thread
Special Forums Cybersecurity John the ripper
# 1  
Old 07-16-2010
John the ripper

Hi evryone,

I have problem the john program. It works correctly but I can not make unshadow command because I have removed the file /usr/bin/john by mistake

Code:
[root@localhost src]# cd ../run
[root@localhost run]# ./john /root/shadow
Loaded 2 password hashes with 2 different salts (FreeBSD MD5 [32/32])
letmein          (root)
letmein          (joe)
guesses: 2  time: 0:00:00:00 100% (2)  c/s: 6579  trying: letmein

Then I removed /usr/bin/john, I could do shadow:

Code:
[root@localhost run]# ./john /root/shadow
No password hashes loaded
[root@localhost run]# umask 077
[root@localhost run]# unshadow /etc/passwd /etc/shadow > mypasswd2
bash: unshadow: command not found
[root@localhost ~]# which john
/usr/bin/which: no john in (/usr/lib/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/root/bin)
You have mail in /var/spool/mail/root
[root@localhost ~]#


So could you help and advise me what should I do?

Last edited by pludi; 07-17-2010 at 07:33 AM.. Reason: code tags, please...
# 2  
Old 07-17-2010
Reinstall JTR.
# 3  
Old 07-17-2010
How can I reinstall JTR please?

what commands should I write
# 4  
Old 07-17-2010
Just like you installed it previously?
# 5  
Old 07-17-2010
I have tried to install it but after installing it, the problem is still also when I do the command which john it gives me output that seems john is not installed so could you tell me how can install it.

I have install it as sourse code from here John the Ripper - how to install
# 6  
Old 07-18-2010
After you run the 'make' command from your tutorial in the john-1.7.*/src directory, and after compilation is successfully finished all files, will end up in the john-1.7.*/run directory. JTR does not come with a 'make install' target so you either have to reference the full path to the "run" directory or copy files and symbolic links to a directory in your path like /usr/local/bin. After that you can use the 'unshadow' command without having to prefix a path.
Login or Register to Ask a Question

Previous Thread | Next Thread

2 More Discussions You Might Find Interesting

1. Red Hat

John the Ripper / CRACK

Has anyone used JTR or CRACK to check if you have any weak passwords on your Red Hat Servers? If so can I ask some basic questions? Or would this question be better pitched in another area of the Forum, if so please suggest where, if anyone is willing to help me in this forum please let me know... (1 Reply)
Discussion started by: stevej123
1 Replies

2. UNIX and Linux Applications

John the Ripper application question

Hi Friends I like to know one thing the how exactly john the ripper works. I have search in google, read lots of tutorial on that. I have simple question, can I get the password for the encrypted file for the following example. e.g : Abc.txt file contents "This is Joy" Now I... (4 Replies)
Discussion started by: itsjoy2u
4 Replies
Login or Register to Ask a Question