prometheus-lua / Prometheus

Lua Obfuscator written in pure Lua
https://levno-710.gitbook.io/prometheus/
GNU Affero General Public License v3.0
202 stars 60 forks source link

[BUG] #140

Open larevio opened 11 months ago

larevio commented 11 months ago

i got this error for obfuscation

lua: /root/Prometheus/src/logger.lua:54: Lexing Error at Position 197:3689, Unexpected char "\096"! stack traceback: C: in function 'error' /root/Prometheus/src/logger.lua:54: in function 'errorCallback' /root/Prometheus/src/logger.lua:57: in function 'error' /root/Prometheus/src/prometheus/tokenizer.lua:503: in function 'next' /root/Prometheus/src/prometheus/tokenizer.lua:509: in function 'scanAll' /root/Prometheus/src/prometheus/parser.lua:143: in function 'parse' /root/Prometheus/src/prometheus/pipeline.lua:178: in function 'apply' /root/Prometheus/src/cli.lua:148: in main chunk C: in function 'require' /root/Prometheus/cli.lua:12: in main chunk

Command execution failed with error: lua: /root/Prometheus/src/logger.lua:54: Lexing Error at Position 197:3689, Unexpected char "\096"! stack traceback: C: in function 'error' /root/Prometheus/src/logger.lua:54: in function 'errorCallback' /root/Prometheus/src/logger.lua:57: in function 'error' /root/Prometheus/src/prometheus/tokenizer.lua:503: in function 'next' /root/Prometheus/src/prometheus/tokenizer.lua:509: in function 'scanAll' /root/Prometheus/src/prometheus/parser.lua:143: in function 'parse' /root/Prometheus/src/prometheus/pipeline.lua:178: in function 'apply' /root/Prometheus/src/cli.lua:148: in main chunk C: in function 'require' /root/Prometheus/cli.lua:12: in main chunk

levno-710 commented 10 months ago

It looks like you are trying to use LuaU string interpolation. This is currently not supported by the prometheus parser.