Script Library

detectobfuscation

Identify the obfuscator a script or bytecode input uses without executing it. Returns the obfuscator name, or none.

Syntax

detectobfuscation(source: string): string

Parameters

sourcestringrequired

The script source or bytecode to inspect.

Returns

string

The obfuscator name, or none.

Example

Name the obfuscator protecting a script.

local kind = detectobfuscation(sourceText)
print(kind)