Hi Nelson, Just for fun, I've checked on the legalese for the task you want to make, I believe when they say electronic keys, they mean passwords or other form of authentication(smart cards, biometrics etc):
*REPUBLIC ACT NO. 8792 - AN ACT PROVIDING FOR THE RECOGNITION AND USE OF ELECTRONIC COMMERCIAL AND NON-COMMERCIAL TRANSACTIONS AND DOCUMENTS, PENALTIES FOR UNLAWFUL USE THEREOF AND FOR OTHER PURPOSES * http://www.chanrobles.com/republicactno8792.htm SEC. 31. Lawful Access. - Access to an electronic file, or an electronic signature of an electronic data message or *electronic document shall only be authorized* and enforced in favor of the individual or* entity having a legal right to the possession or the use of the plaintext*, electronic signature or file and solely for the authorized purposes. The electronic key for identity or integrity *shall not be made available to any person or party without the consent of the individual or entity in lawful possession ofthat electronic key. *On Wed, May 21, 2008 at 8:32 PM, Xander Solis <[EMAIL PROTECTED]> wrote: > 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 > -- -- 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

