LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Decrypt Password in linux (https://www.linuxquestions.org/questions/linux-software-2/decrypt-password-in-linux-706741/)

abrenar 02-23-2009 12:37 AM

Decrypt Password in linux
 
any software for Ubuntu that can decrypt linux password found in /etc/shadow ?

shahz 02-23-2009 12:44 AM

check out john the ripper I think thats good one.

abrenar 02-23-2009 12:49 AM

tnx Shahz. how can i install it to my ubuntu intrepid box?

shahz 02-23-2009 12:56 AM

try googling how to use john the ripper you would come to know.

jschiwal 02-23-2009 01:53 AM

John the Ripper can decrypt a week password and be used to test for week dictionary passwords. Brute forcing a strong password hash for Linux would probably take way too long to be worthwhile. It would be easier to change the password as root, if you forgot your password.

Lee_Ball 02-23-2009 03:42 AM

John the ripper gets better with use too, so it might be worth running it from a penstick. Its a simple download that you then run from the command line. I usually copy out the /etc/shadow file to where I'm running John the ripper from.

abrenar 03-03-2009 12:21 AM

i already got what i need.



apt-get install crack


man crack.
for you to know what it is.

peace \m/

anomie 03-03-2009 11:14 AM

Not to split hairs, but you're not decrypting a password. It was hashed. You're brute forcing the hashed password, not reversing the hash.

T74marcell 03-03-2009 01:59 PM

Just a few searched hints for the curious minded:

Different types of hashings can be in play:
Quote:

"To modify the contents of the shadow file, users generally invoke the passwd program, which in turn is largely depending on PAM. For example, the type of hash used is dictated by the configuration of the pam_unix.so module. By default the MD5 hash is used, while the newer pam_unix2.so module is also capable of stronger hashes such as blowfish."
See: http://en.wikipedia.org/wiki/Shadow_password

Quote:

"vipw is a small computer program which enables a Unix system administrator to comfortably edit the "passwd" and "Shadow password" files. It comes bundled in the "Shadow" software package."
See: http://www.linuxmanpages.com/man8/vipw.8.php

Authenticate A User (or a PHP cript) Using Same Password As Linux Password:
http://www.bigresource.com/PHP-Authe...-1CLOOrvX.html

----------
T74marcell

Arch Linux


All times are GMT -5. The time now is 04:24 AM.