Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Mar 1996 22:27:40 +1100
From:      ahill <ahill@interconnect.com.au>
To:        Chad Shackley <sysop@gaianet.net>
Cc:        questions@freebsd.org
Subject:   Re: Passwords
Message-ID:  <3156832C.167EB0E7@interconnect.com.au>
References:  <199603230504.VAA28720@mercury.gaianet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> I have a pretty simple question.  How do I find out what someone's password
> is ?

There are three ways, and two are easy. 

The first is ask them.

The second is make a guess, encrypt it using the crypt
function (the one in perl is handy), and compare the result
with the encrypted copy kept in master.passwd. (Note - when
encrypting your guess you will have to use the same 'salt' as
was used when their password was originaly created. The 'salt'
is usually the first few characters of the encypted password -
perhaps someone else knows which ones.)

Of course this may take a while if the person followed the
basic rules when thinking up a password.

The third (hard) way is to watch them enter it using a netowrk
sniffer or something sneaky like that. Network sniffers tend
to be complex things to impliment and use.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3156832C.167EB0E7>