LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 02-23-2009, 12:37 AM   #1
abrenar
LQ Newbie
 
Registered: Feb 2009
Location: Philippines , Mandaluyong City
Distribution: Ubuntu, Debian, Backtrack
Posts: 24

Rep: Reputation: 15
Decrypt Password in linux


any software for Ubuntu that can decrypt linux password found in /etc/shadow ?
 
Old 02-23-2009, 12:44 AM   #2
shahz
Member
 
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL, Ubuntu, Fedora
Posts: 368

Rep: Reputation: 29
check out john the ripper I think thats good one.
 
Old 02-23-2009, 12:49 AM   #3
abrenar
LQ Newbie
 
Registered: Feb 2009
Location: Philippines , Mandaluyong City
Distribution: Ubuntu, Debian, Backtrack
Posts: 24

Original Poster
Rep: Reputation: 15
tnx Shahz. how can i install it to my ubuntu intrepid box?
 
Old 02-23-2009, 12:56 AM   #4
shahz
Member
 
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL, Ubuntu, Fedora
Posts: 368

Rep: Reputation: 29
try googling how to use john the ripper you would come to know.
 
Old 02-23-2009, 01:53 AM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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.
 
Old 02-23-2009, 03:42 AM   #6
Lee_Ball
Member
 
Registered: Jul 2005
Location: Manchester (UK)
Distribution: Fedora CentOS
Posts: 132

Rep: Reputation: 18
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.
 
Old 03-03-2009, 12:21 AM   #7
abrenar
LQ Newbie
 
Registered: Feb 2009
Location: Philippines , Mandaluyong City
Distribution: Ubuntu, Debian, Backtrack
Posts: 24

Original Poster
Rep: Reputation: 15
i already got what i need.



apt-get install crack


man crack.
for you to know what it is.

peace \m/
 
Old 03-03-2009, 11:14 AM   #8
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
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.
 
Old 03-03-2009, 01:59 PM   #9
T74marcell
Member
 
Registered: Mar 2009
Posts: 102

Rep: Reputation: 18
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
decrypt in perl john83reuben Programming 6 04-01-2008 03:12 AM
Encrypt/Decrypt file in Linux , How to ? shipon_97 Linux - Newbie 1 09-05-2007 03:35 AM
How can I decrypt a tar.gz.bf BACKUP FILE? I have the password. Balarabay1 Linux - Software 4 10-02-2006 12:42 PM
Decrypt SSL ajaye1971 Linux - Security 1 08-30-2006 04:06 PM
decrypt pdf Daniel Han Linux - General 8 01-27-2004 03:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration