Quote:>I have a legitimate need: a used HP-UX system with a long forgotten
>root password. All I have is the encoded string from the passwd
>file. Crack 4.1 was not able to crack it.
The right way to fix this is to boot from another disk (or CDROM or tape),
mount the otherwise root disk, and edit /etc/passwd on that disk.
Alternately, if you have the facility to do so. you could remove the drive
from the machine, mount it on another, and do the same thing.
Once upon a time, a friend and I did (something like) this with the disk
from a Fortune box.
We used Norton on a DOS machine, searched for the string 'root' and found
nothing. It seems that every two bytes on the disk were swapped.
Searching for 'orto', we found the passwd file. We plugged in a known
encrypted password, swapping bytes of course, and presto.
Quote:>If someone has the source code for a brute force cracker they are
>willing to share, please email me.
I have such a program. If you still want it, let me know and I'll send it
along. If you know how many characters are in the password (unlikely),
you can cut the time down. I am expecting a search of 5 character
passwords (with a 62 character alphabet) to take over 9 days on a lightly
loaded P100.
Longer passwords will, of course, take exponentially longer. I wrote this
program to try to generate a vanity password that will spell something
when encrypted with the right salt. 8) Didn't find anything with 0-4
character passwords. 8)