Author Topic: problem with John the ripper  (Read 8112 times)

0 Members and 1 Guest are viewing this topic.

Offline bander

  • Jr. Member
  • **
  • Posts: 1
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
problem with John the ripper
« on: July 15, 2010, 01:56:40 am »

I have problem with John the ripper. It works fine.

but I have deleted the executable file /usr/bin/john by mistake and then I can not do unshadow command any more to crack the passwords as follow:

[root@localhost ~]# cd john-1.7.6/run
[root@localhost run]# umask 077
[root@localhost run]# unshadow /etc/passwd /etc/shadow > mypasswd2
bash: unshadow: command not found

So what should I do to fix this problem

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 479
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • Awards
Re: problem with John the ripper
« Reply #1 on: July 15, 2010, 02:33:02 am »
Why not download it again and follow the instructions in the /doc/INSTALL file contained in the john-1.7.6.tar.gz file?

You "may" not need to reinstall
If you haven't actually deleted anything, you need to start commands with ./ because they haven't been installed system-wide... or add the ~/john-1.7.6/run directory to the system path.

So taking your commands you posted above, they SHOULD read:
Code: [Select]
cd john-1.7.6/run
./umask 077
./unshadow /etc/passwd /etc/shadow > mypasswd2

« Last Edit: July 15, 2010, 03:07:37 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.


SimplePortal 2.3.3 © 2008-2010, SimplePortal