B
B
Bur Ov2020-02-12 16:00:20
PHP
Bur Ov, 2020-02-12 16:00:20

Deobfuscation of php code. Is it possible to?

Good afternoon. I came across this code: 5e43f6cc23b91638857863.png
Is it possible to parse such a code?
If so, are there any services?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
AUser0, 2020-02-13
@burov0798

Can't decode HEX strings in a file?

<?php   file_put_contents(pathinfo($argv[1], PATHINFO_FILENAME).".out", preg_replace_callback("/\\\\x([0-9a-f]{2})/i", function ($a){return pack("H*" , $a[1]);}, file_get_contents($argv[1])));   ?>

Save to dehex.php file and run with command php -f dehex.php file_with_hex.txt.
What do you need to replace the line file_with_hex.txt with - guess?
And guess what is now in the appeared file file_with_hex.out ?

R
Rsa97, 2020-02-12
@Rsa97

Up to this type, you can automatically:
$GLOBALS["lhonmhqjabnfbcovnnbvdicefanx"] = "_F";
Well, then with your hands.

P
profesor08, 2020-02-12
@profesor08

No. Code as code, quite valid and working. Look at what operations are performed there, what functions are called, with what parameters.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question