homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Gold Sponsor 2015!
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

what type of encryption is this
what type of php encryption

Msg#: 4259851 posted 10:22 am on Jan 29, 2011 (gmt 0)

please tell me what type of encryption is this and how to decode it
<?php $OOO000000=urldecode('%66%67%36%73%62%65%68%70%72%61%34%63%6f%5f%74%6e%64');
eval($OOO0000O0('[i]<long string of characters here>[/i]'));return;?>[i]<long string of characters here>[/i]

[edited by: coopster at 2:45 pm (utc) on Jan 31, 2011]
[edit reason] removed eval potential to protect future readers [/edit]



5+ Year Member

Msg#: 4259851 posted 11:41 pm on Jan 29, 2011 (gmt 0)

"Protection Through Obfuscation" ?

What did you get when you executed all the statements?
I got "fg6sbehpra4co_tnd" for the first statement...
I din'na have the patience to break down the whole thing.

Maybe "Protection Through Frustration" ?

You did notice the oh-so 'clever' use of similar-looking variable names
all beginning with the letter "OH" and followed by various mixes of other
letter "OH"s and numeral "ZEROES" -- did you not?

Would appear you're attempting to hack around in someone else's code --
written by a contractor/consultant?



WebmasterWorld Administrator coopster us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 4259851 posted 2:48 pm on Jan 31, 2011 (gmt 0)

Welcome to WebmasterWorld, dhruva.

I removed the potentially malicious strings of data and also broke the string up into chunks to remove the sidescroll on the display.

The code is urlencoded and base64 encoded, loaded with eval() statements, which are used to evaluate PHP code and execute it from a string value. The code itself opens the file that it is in, reads itself, peels itself apart and executes PHP code on the server which it is located.


Msg#: 4259851 posted 3:47 pm on Feb 6, 2011 (gmt 0)

i tried to decode it with urlecncoded but it was failure , some time its work but with error may be its my fault

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved