Skip to content
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

labels are not obfuscated #97

Closed
EddieKidiw opened this issue Aug 22, 2021 · 2 comments
Closed

labels are not obfuscated #97

EddieKidiw opened this issue Aug 22, 2021 · 2 comments

Comments

@EddieKidiw
Copy link

EddieKidiw commented Aug 22, 2021

My script.
<?php
goto a;
echo 'Foo';
a:
echo 'Bar';
?>

After obfuscated
<?php
/* __________________________________________________
| Obfuscated by YAK Pro - Php Obfuscator 2.0.12 |
| on 2021-08-22 12:57:16 |
| GitHub: https://github.com/pk-fr/yakpro-po |
|__________________________________________________|
*/
goto EAkS2; EAkS2: goto a; goto UYo0o; UYo0o: echo "\106\x6f\x6f"; goto i2fwf; i2fwf: a: goto yGhS3; yGhS3: echo "\102\x61\x72";

i found the label function in include/classes/parser _extensions/my_node visitor.php online 806 $name = $node->name; and add name $name = $node->name->name; and it worked for me 🙏

@EddieKidiw
Copy link
Author

yakpro

@pk-fr
Copy link
Owner

pk-fr commented Aug 22, 2021

Thanx for your report, issue is now corrected in 2.0.13 release

@pk-fr pk-fr closed this as completed Aug 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants