Hi Nelson,
Just an idea.
The encrypt() function is a 1 way hash. You may just create a password
change page that selects the crypted value of the password, against
the supplied crypted password supplied by the actual user: Then insert
the new crypted password back to the database.
example snippet:
...
if (crypt($Password) == $mysql_password)
{
echo "Correct password";
}
....
Another alternative that i have in mind is you may try brute force
tools like THC Hydra and Medusa. But still i bet this is a production
server, you might not want to do this on a live system without
permission from upper management.
On Wed, May 21, 2008 at 5:10 PM, Nelson Serafica <[EMAIL PROTECTED]> wrote:
> Does anyone knows how to decrypt an entry in the mysql that was encrypted?
> Former programmer set an entry in a certain table but he set it encrypted.
> Now, I need to get those info but since it was encrypted, don't know how to
> reverse it. Bad thing programmer was also resigned
>
> I'm trying to Googling it but to no avail. Probably there are plugins/tool
> out there but dunno what it is (if any).
>
> Here is the sample of the command
>
> insert into radcheck (username,attribute,value)
> values('$data[1]','Password',encrypt('$data[5]'))
>
> ________________________________
> Support Victims of the Cyclone in Myanmar (Burma).
> Donate Now.
> _________________________________________________
> Philippine Linux Users' Group (PLUG) Mailing List
> http://lists.linux.org.ph/mailman/listinfo/plug
> Searchable Archives: http://archives.free.net.ph
>
--
--
Xander Solis
xrsolis.blogspot.com
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph