A
A
Alexey Nikolaev2014-10-08 10:59:23
CMS
Alexey Nikolaev, 2014-10-08 10:59:23

How to decrypt encrypted php file?

I'm digging into hostcms. But here's the problem - module classes (such as shop.class.php) are encrypted in some incomprehensible way:

3c3f 7068 7020 405a 656e 643b 0a34 3132
333b 0a2f 2a20 0001 f121 5468 6973 2069
7320 6e6f 7420 6120 7465 7874 2066 696c
6521 deed 0020 202a 2f0a 7072 696e 7420
3c3c 3c45 4f4d 0a3c 6874 6d6c 3e3c 626f
6479 3e3c 6120 6872 6566 3d22 6874 7470
3a2f 2f77 7777 2e7a 656e 642e 636f 6d2f

And there is no way to debug or fix it. What is it, and is it possible to decrypt it somehow (cms can somehow)?
PS Changing the encoding in ide to utf-8 or something else does not lead to
PPS results, although if you change the encoding to utf-8, "! This is not a text file!" appears at the top.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
apasen, 2014-10-08
@Heian

zend encoder is encrypted by it, most likely, and the reverse action is not done by cms, but by the module installed on the server

S
Spetros, 2014-10-08
@Spetros

Character codes are written in hexadecimal form, if you convert them back using the online service www.string-functions.com/hex-string.aspx
Then we get the following text, which allows us to say about the use of zend encoder.

<?php @Zend ;
412?3;
/* ñ!This i?s not a text fil?e!Þí */
print ?<<

A
Andrey Ezhgurov, 2014-10-08
@eandr_67

If you want to watch the source code - buy a license.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question