Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-23-2009, 12:37 AM
|
#1
|
LQ Newbie
Registered: Feb 2009
Location: Philippines , Mandaluyong City
Distribution: Ubuntu, Debian, Backtrack
Posts: 24
Rep:
|
Decrypt Password in linux
any software for Ubuntu that can decrypt linux password found in /etc/shadow ?
|
|
|
02-23-2009, 12:44 AM
|
#2
|
Member
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL, Ubuntu, Fedora
Posts: 368
Rep:
|
check out john the ripper I think thats good one.
|
|
|
02-23-2009, 12:49 AM
|
#3
|
LQ Newbie
Registered: Feb 2009
Location: Philippines , Mandaluyong City
Distribution: Ubuntu, Debian, Backtrack
Posts: 24
Original Poster
Rep:
|
tnx Shahz. how can i install it to my ubuntu intrepid box?
|
|
|
02-23-2009, 12:56 AM
|
#4
|
Member
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL, Ubuntu, Fedora
Posts: 368
Rep:
|
try googling how to use john the ripper you would come to know.
|
|
|
02-23-2009, 01:53 AM
|
#5
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
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.
|
|
|
02-23-2009, 03:42 AM
|
#6
|
Member
Registered: Jul 2005
Location: Manchester (UK)
Distribution: Fedora CentOS
Posts: 132
Rep:
|
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.
|
|
|
03-03-2009, 12:21 AM
|
#7
|
LQ Newbie
Registered: Feb 2009
Location: Philippines , Mandaluyong City
Distribution: Ubuntu, Debian, Backtrack
Posts: 24
Original Poster
Rep:
|
i already got what i need.
apt-get install crack
man crack.
for you to know what it is.
peace \m/
|
|
|
03-03-2009, 11:14 AM
|
#8
|
Senior Member
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Rep:
|
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.
|
|
|
03-03-2009, 01:59 PM
|
#9
|
Member
Registered: Mar 2009
Posts: 102
Rep:
|
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
Last edited by T74marcell; 03-14-2009 at 12:42 AM.
|
|
|
All times are GMT -5. The time now is 02:57 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|