3raser Posted July 27, 2010 Share Posted July 27, 2010 I want to play a prank on my brother. He is just start PHP. I'm trying to make it so the following: (I'M NOT SURE IF THIS IS POSSIBLE) <?php die("Hacked"); ?> Is encrypted (MD5), and then somehow with just the encryption, how do I make it die? I'm not sure if it's possible. Example: <?php fd3e514f8ced0de57ffc3b2ae363485e //my hidden die command //his content here ?> Link to comment https://forums.phpfreaks.com/topic/209037-how-do-i-make-it-secret/ Share on other sites More sharing options...
Daniel0 Posted July 27, 2010 Share Posted July 27, 2010 You can't. Link to comment https://forums.phpfreaks.com/topic/209037-how-do-i-make-it-secret/#findComment-1091796 Share on other sites More sharing options...
xcandiottix Posted July 27, 2010 Share Posted July 27, 2010 You mean you want to un-MD5 it? Which isn't possible... or you want to fire the code <?php die("Hacked"); ?> with a hash code? I figure you are trying to hide "Hacked" so he doesn't know you typed it in correct? Link to comment https://forums.phpfreaks.com/topic/209037-how-do-i-make-it-secret/#findComment-1091797 Share on other sites More sharing options...
Alex Posted July 27, 2010 Share Posted July 27, 2010 Well you can't do exactly what you're asking, but you could do something like this I guess: eval(base64_decode('ZGllKCJIYWNrZWQiKTs=')); Doesn't really hide much to someone who knows what they're looking at though. Link to comment https://forums.phpfreaks.com/topic/209037-how-do-i-make-it-secret/#findComment-1091799 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.