• RSS
  • Twitter
  • FaceBook

Security Forums

Log in

FAQ | Search | Usergroups | Profile | Register | RSS | Posting Guidelines | Recent Posts

How is this php file crytped?

Users browsing this topic:0 Security Fans, 0 Stealth Security Fans
Registered Security Fans: None
Post new topic   Reply to topic   Printer-friendly version    Networking/Security Forums Index -> Programming and More

View previous topic :: View next topic  
Author Message
Uniquesone
Just Arrived
Just Arrived


Joined: 28 May 2010
Posts: 0


Offline

PostPosted: Fri May 28, 2010 3:50 pm    Post subject: How is this php file crytped? Reply with quote

Hello I have 2 php files that seems to be very good encrypted.
Could u please tell me how this is done?

Sth with base64_decode but the result is also useless informations.
Thank you very much

http://china-store.eu/txts/1.txt
http://china-store.eu/txts/2.txt
Back to top
View user's profile Send private message
p____h
Just Arrived
Just Arrived


Joined: 13 May 2010
Posts: 0
Location: Poland

Offline

PostPosted: Mon May 31, 2010 5:21 pm    Post subject: Reply with quote

It's not an encryption, but an obfuscation:
http://en.wikipedia.org/wiki/Obfuscated_code
There are a lot of special tools which make our code/source more "illegible".
This method was used in your examples.

In the first example, the php-script uses sockets ('cos I found fsockopen), moreover, it must connect to the database - MySQL database ('cos I found mysql_escape() function). And thats all what I know about this script after a few seconds. But you didn't ask how it works, but how somebody made it. Wink
Back to top
View user's profile Send private message
Uniquesone
Just Arrived
Just Arrived


Joined: 28 May 2010
Posts: 0


Offline

PostPosted: Mon May 31, 2010 10:20 pm    Post subject: Reply with quote

Thank you very much.

I think it was made with:
http://www.raizlabs.com/software/phpobfuscator/

Because the testfiles look like these.

Bad that its ver complicated to reverse these 2 files.

But thank you again Smile
Back to top
View user's profile Send private message
Display posts from previous:   

Post new topic   Reply to topic   Printer-friendly version    Networking/Security Forums Index -> Programming and More All times are GMT + 2 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

Community Area

Log in | Register