How can I gzinflate and save the inflated data without running it? (Found what I think is a trojan o

Posted by Rob on Stack Overflow See other posts from Stack Overflow or by Rob
Published on 2010-04-27T16:22:06Z Indexed on 2010/04/27 16:23 UTC
Read the original article Hit count: 152

Filed under:
|
|
|

Well, not my server. My friend found it and sent it to me, trying to make sense of it. What it appears to be is a PHP IRC bot, but I have no idea how to decode it and make any sense of it.

Here is the code:

<?eval(gzinflate(base64_decode('some base 64 code here')))?>

So I decoded the base64, and it output a ton of strange characters, I'm guessing either encrypted or a different file type, like when you change a .jpg to a .txt and open it.

But I have no idea how to decode this and determine its source. Any help?

© Stack Overflow or respective owner

Related posts about php

Related posts about base64