Operating System - HP-UX
1845088 Members
2373 Online
110233 Solutions
New Discussion

Loaded 0 passwords, exiting... whle running john

 
blal
Frequent Advisor

Loaded 0 passwords, exiting... whle running john

Hi all,

I am trying to run john password cracker pgm on
my HP unix 11 machine.

I have copied my passwd file to the run directory and running
#./john passwd
then it immediately says "Loaded 0 passwords, exiting..."
If any body has faced this ,please update me.

Thanking you,
Baijulal.M
Live and let live.
8 REPLIES 8
Jairo Campana
Trusted Contributor

Re: Loaded 0 passwords, exiting... whle running john

Verify
you hpux 11.0 this in mode Trusted, directory /tcb

you passwd have the key
vantux:D768AVEKxN5fQ:110:111:,,,:/home/vantux:/usr/bin/sh
orabck:/QAOIHrM9NlEs:105:102:,,,:/home/orabck:/usr/bin/ksh
actmin:vmhKe3BMhpmDQ:106:105:,,,:/home/acmin:/usr/bin/sh

or

root:*:0:3::/root:/sbin/sh
daemon:*:1:5::/:/sbin/false
bin:*:2:2::/usr/bin:/sbin/false
sys:*:3:3::/:/sbin/false


legionx
blal
Frequent Advisor

Re: Loaded 0 passwords, exiting... whle running john

Thanks Jairo,

Its is in trusted mode. only * appears in password file for password entry.
Live and let live.
Darren Prior
Honored Contributor

Re: Loaded 0 passwords, exiting... whle running john

Hi,

As it's trusted you'll need to get the passwords from the individual tcb files. This extra complication is one of the security benefits of trusted systems!

regards,

Darren.
Calm down. It's only ones and zeros...
Jairo Campana
Trusted Contributor

Re: Loaded 0 passwords, exiting... whle running john

example
# cat /tcb/files/auth/r/root
root:u_name=root:u_id#0: :u_pwd=lytKBx7Bl0Gj.3/17yRh0BWk: :u_auditid#0: :u_auditflag#1: :u_succhg#1051883628:u_unsucchg#1043854393:u_llogin#5184000:u_pswduser=root: :u_restrict@:u_genchars@:u_suclog#1055795648:u_suctty=tty: :u_unsuclog#1055514193:u_lock@:chkent:
#
***********************************
u_pwd is the password the root its needd jhon the ripper
copy lytKBx7Bl0Gj.3/17yRh0BWk
in format /etc/passwd no trusted example
root:lytKBx7Bl0Gj.3/17yRh0BWk::/root:/sbin/sh

so, execute john passwd



legionx
Caesar_3
Esteemed Contributor

Re: Loaded 0 passwords, exiting... whle running john

Hello!

You can also off the trusted system and this
will return the passwd file to the original mode that john will understand it.
You can off/on trusted system from SAM.

Caesar
John Payne_2
Honored Contributor

Re: Loaded 0 passwords, exiting... whle running john

But you don't have to involve SAM at all:

cd /usr/lbin
tsconvert -r
cp /etc/passwd /etc/passwd.bak
tsconvert

john /etc/passwd.bak

And you are done. (You could even script this, add it to cron and go.)

Hope it helps

John
Spoon!!!!
Darren Prior
Honored Contributor

Re: Loaded 0 passwords, exiting... whle running john

Hi,

Untrusting and retrusting the system will make it easier for you to get to the passwords for your cracker program, but consider that you will then lose the last successful/unsuccessful login and password change data, along with any custom security policies that exist for both the individual users and the system default policies.

regards,

Darren.
Calm down. It's only ones and zeros...
SSP_1
Regular Advisor

Re: Loaded 0 passwords, exiting... whle running john

Hi Baiju ,

Could you pl post the john dump as an attachement to the forum or pl tell me where can I get it. I also want to try it on one of our server.

What does it actually do....is it removes any password entries.
Obstacles exist to challenge you to keep going. Not to quit.