zeusssz / hercules-obfuscator

A powerful Lua obfuscator designed to make your Lua code nearly impossible to reverse-engineer, with multiple layers of advanced obfuscation techniques
Apache License 2.0
27 stars 13 forks source link

Issue with Compressor + String to Expression #21

Closed iwarp closed 1 week ago

iwarp commented 1 week ago

with string to expression, it can generate a negative number for example string.char(102 - -15)

with the compressor flag enabled it removes the spaces, and it turn it into a comment for the rest of the line

string.char(102--15)

image

Thanks for the quick turn around on all these issues

zeusssz commented 1 week ago

fixing soon

zeusssz commented 1 week ago

@iwarp sent out a patch, test if it works in this case

iwarp commented 1 week ago

Yup that fixed this issue @zeusssz