Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
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]))); ?>
php -f dehex.php file_with_hex.txt
. Up to this type, you can automatically:
$GLOBALS["lhonmhqjabnfbcovnnbvdicefanx"] = "_F";
Well, then with your hands.
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 questionAsk a Question
731 491 924 answers to any question