pk-fr / yakpro-po

YAK Pro - Php Obfuscator
http://www.php-obfuscator.com
Other
1.3k stars 368 forks source link

Array equal Array #112

Open Iris92 opened 1 year ago

Iris92 commented 1 year ago

Hello Very nice class ;)) One thing is not working : $_POST['b'] = $_POST['a']; // $_POST['a'] as an array I had to replace my code with : $_POST['b'] = array_replace([], $_POST['a']); May be a small bug ;)) Thanks

KminekMatej commented 9 months ago

$_POST["a"] = $_POST["\x61"];

gets obfuscated as one of the followings: $_POST["\142"] = $_POST["\x61"]; or $_POST["\142"] = $_POST["\x61"]; or $_POST["\x62"] = $_POST["\x61"]; etc..

All of these notations are valid string representations (tried to make some example here: https://onlinephp.io/c/09335) You can write strings escaped in octal sequence or hexadecimal equence, which all are perfectl valid notations for string: https://www.php.net/manual/en/language.types.string.php