Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[PHP] MD5 Decrypter/Encrypter

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Localhost
I post too much
Reputation: 0

Joined: 28 Apr 2007
Posts: 3402

PostPosted: Tue Jul 01, 2008 6:22 pm    Post subject: [PHP] MD5 Decrypter/Encrypter Reply with quote

http://pastebin.com/m2b5e7abb

That is my MD5 Decrypter page...

I was trying to add an if/else statement put i couldn“t think of how i would add it...

Basically i was trying to do

if ( $word2decrypt is in the database)
display the decryption
else
to bad its not in there...

So how could i do that?

_________________
Back to top
View user's profile Send private message MSN Messenger
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Tue Jul 01, 2008 6:28 pm    Post subject: Reply with quote

You can't "decrypt" a MD5 hash. You can crack it. Is this for bruteforcing one?
_________________
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25833
Location: The netherlands

PostPosted: Tue Jul 01, 2008 6:38 pm    Post subject: Reply with quote

No need for an if/else, except giving a different output when it has 0 results.
Just do a specific query and let the database do the job of looking up the word that belongs to the given md5

"select word from md5database where md5hash=".$hash2decrypt

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Localhost
I post too much
Reputation: 0

Joined: 28 Apr 2007
Posts: 3402

PostPosted: Tue Jul 01, 2008 8:05 pm    Post subject: Reply with quote

Well dark byte the reason i am doing this is because people are getting confused why it isnt returning a value... So if there was an if else statement it could tell them if the database found it or not.

Also, i know you cant decrypt MD5... This script only checks the database

_________________
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites