Skip to content

[BUG] string encryption dumped #139

Open
@fc577294c34e0b28ad2839435945

Description

Describe the bug
You can easily dump strings in scripts that had EncryptStrings applied by finding " .. " and inserting print() in each result

Expected behavior
It should be harder to find the string decryption.

To Reproduce
Steps to reproduce the behavior:

  1. Obfuscate with strong preset and use LuaU as the luaVersion:
  • AntiTamper's UseDebug must be set to false
local constant = "Hello world!"
print(constant)

print("Hello world 2!")
  1. Beautify obfuscated code
  2. Find " .. " with Ctrl+F (include the spaces)
  3. Add print() to each result
L_87_ = L_69_ .. L_82_
print(L_87_);
  1. Reminify and run the code

Screenshots

image

Additional context
https://paste.ee/p/62huP - Obfuscated code with strong preset
https://paste.ee/p/8yfqO - Beautified code with print() inserted
https://paste.ee/p/NMisF - Reminified code

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions