prometheus-lua / Prometheus

Lua Obfuscator written in pure Lua

Home Page:https://levno-710.gitbook.io/prometheus/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] Obfuscating with any preset that doesn't have "EncryptStrings" or "ConstantArray" step results in my ordinary strings converted to Decimal Values/ASCII

OxidaneDev opened this issue · comments

Description: It is a very simple bug, yet so super annoying, I've always had this issue with Prometheus and had to use a third party software (LuaminJS) to get rid of it! I find it annoying sometimes like I would make a preset that has no steps, and it would still happen, it'd convert the ordinary strings (local string = "string") into (local a="\115\116\114\105\110\103").

Expected Behavior: I wanted the ordinary strings to remain normal. Like the past versions, it didn't have any problems with it whatsoever.

Steps to reproduce: Obfuscate with no string encryption step, or no steps at all, or Vmify step.

P.S: If possible, I would like to know where it is located, I've been trying to find it since this "feature" was released and I just cant.

Screenshots:
1 (the watermark was encoded that's why I finally had enough and decided to file an issue): Bug Picture

That is not a bug sir

Currently, If a string contains any non standard ASCII character, the whole string will be escaped.
You can change this by modifying the escape function in until.lua, such that only those characters are escaped.

If any other strings are escaped, it might be that the function is somewhat faulty.

Although under Luajit it works for me as intended.