How to recover password.

Protecting your Linux box
mohsan1987
Company Havaldaar Major
Posts: 163
Joined: Sun Oct 23, 2005 7:21 am
Location: Lalamusa
Contact:

How to recover password.

Postby mohsan1987 » Mon Jan 02, 2006 3:36 pm

^_^ MOHSAN ^_^
@@@@@@@@@@@@@@@@@@@@@@@
Linux Registered User # 409284
register your self if you are using Linux
www.counter.li.org
@@@@@@@@@@@@@@@@@@@@@@@

Kdaemon
Naib Subedar
Posts: 346
Joined: Sat Nov 30, 2002 12:22 pm
Location: Islamabad. GPS: LHR

Postby Kdaemon » Mon Jan 02, 2006 3:47 pm


mohsan1987
Company Havaldaar Major
Posts: 163
Joined: Sun Oct 23, 2005 7:21 am
Location: Lalamusa
Contact:

Postby mohsan1987 » Mon Jan 02, 2006 3:49 pm

^_^ MOHSAN ^_^

@@@@@@@@@@@@@@@@@@@@@@@

Linux Registered User # 409284

register your self if you are using Linux

www.counter.li.org

@@@@@@@@@@@@@@@@@@@@@@@

kbukhari
Major General
Posts: 1222
Joined: Sat Dec 31, 2005 12:29 am
Location: Lahore
Contact:

Postby kbukhari » Mon Jan 02, 2006 6:58 pm

--
Syed Kashif Ali Bukhari
+92-345-8444420
http://sysadminsline.com
http://kashifbukhari.com

Kdaemon
Naib Subedar
Posts: 346
Joined: Sat Nov 30, 2002 12:22 pm
Location: Islamabad. GPS: LHR

Postby Kdaemon » Mon Jan 02, 2006 7:22 pm


mohsan1987
Company Havaldaar Major
Posts: 163
Joined: Sun Oct 23, 2005 7:21 am
Location: Lalamusa
Contact:

Postby mohsan1987 » Tue Jan 03, 2006 1:12 pm

^_^ MOHSAN ^_^

@@@@@@@@@@@@@@@@@@@@@@@

Linux Registered User # 409284

register your self if you are using Linux

www.counter.li.org

@@@@@@@@@@@@@@@@@@@@@@@

AsadRasheed
Battalion Quarter Master Havaldaar
Posts: 228
Joined: Fri Jan 28, 2005 6:23 pm
Location: Karachi

How to recover password

Postby AsadRasheed » Thu Jan 05, 2006 4:04 pm

registered linux user #394856
http://www.bsdpakistan.org

LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re: How to recover password

Postby LinuxFreaK » Thu Jan 05, 2006 9:38 pm

Farrukh Ahmed

server
Naik
Posts: 83
Joined: Tue Jan 03, 2006 7:41 pm
Location: Lahore
Contact:

Postby server » Fri Jan 06, 2006 7:30 pm


LinuxNerd
Lance Naik
Posts: 39
Joined: Wed Sep 15, 2004 1:45 am

Postby LinuxNerd » Sun Nov 19, 2006 7:44 pm

Well if the password in shadow is hashed MD5 or SHA1 (which it is not so) then you cannot recover it as hashing is a one way function that is it is not reversable, that is why sometimes if you forget your passwords at YAHOO! or Hotmail they reset your passwords. Anyways the password in shadow file is encrypted using DES algorithm. You can view that also from

man crypt

You can easily create a C program to create your own implementation of extracting password from shadow file.

lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Postby lambda » Sun Nov 19, 2006 9:04 pm


LinuxNerd
Lance Naik
Posts: 39
Joined: Wed Sep 15, 2004 1:45 am

Postby LinuxNerd » Fri Nov 24, 2006 2:30 am

err BUG give me break... DES is an encryption algorithm. There is a world apart difference between encryption and hashing. Encrypted text can be decrypted, but hashing is a one way function. You need to study cryptography to get that, linux wont explain that. By the way RSA and DSA (these are much better than DES, 3DES, Rijndael, RC5, AES, ...) can be decrypted as well. I leave that part for the learned here :P to think and figure out how. Googling can solve lots of your woes, it would tell you how can you encrypt and decrypt these implementations. To calculate hashes (MD5 or SHA1 namely) is what we call in modern day world brute force or dictionary based password cracking, which some tools do used as mentioned in one of the recent posts. So it isnt impossible, it is just that we are unaware.

Might like to read


Return to “Security”

Who is online

Users browsing this forum: No registered users and 1 guest