-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not correct decode #2
Comments
Hi, it is unclear what the problem is from your description. Could you share a snippet of code that doesn't deobfuscate well? |
encode file https://pastebin.com/FCiBc6Yc
End goto not full decode
|
I see. The obfuscation in that file appears to rewrite if/else into ifs and gotos. The reason why DIR_SYSTEM is being concatenated to the string is because it's emulating PHP's behaviour where undefined constants become the string value of it's name. <?php
echo "VALUE: " . DIR_SYSTEM; Demo: https://3v4l.org/trpHp
If you define the constant, it will concatenate it, e.g: <?php
define('DIR_SYSTEM', '/');
echo DIR_SYSTEM . "library/adw/autofield.php"; Becomes: <?php
define('DIR_SYSTEM', '/');
echo "/library/adw/autofield.php"; |
Thanks for answers. |
Not correct decode goto and multi label.
lab1:
lab2:
lab3:
The text was updated successfully, but these errors were encountered: