Skip to content

[QUESTION|BUG] Not Obfuscated Props #878

@BlackYuzia

Description

@BlackYuzia

I have obfuscated code on JS:
https://pastebin.com/vLATku6x

Here is original code:
TS | JS

How I saw TS didn't support. But that isn't my question.

I saw what when I run code I get next output:
image
All is good, work fine. But I saw some strange result.

Obfuscator config

How you can see in my config I was enable change (obfuscate) keys of objects, globals, properties names. So, I suggest what props like name, keys, index, list would change (obfuscated) too. But I didn't saw that result.

So, my question- this is a bug or not? Why some props isn't obfuscated?

UPD:

I also a bit edit code. So I will find more "interest" things.

  • Without keys obfuscate - prop kruzya.pidoor is exist and have value (9999).
    image
  • With keys obfuscate - prop kruzya.pidoor isn't exist BUT prop kruzya._0x2bdd58didn't have value (9999).
    image
  • With and without keys obfuscate, props of class didn't obfuscate (mb because this is a class? But one prop was obfuscated. MAGIC)
    This "debug" I will get by next code:
console.log("\n\n[KRUZYA]");
console.log("[kruzya]", kruzya);


// Auto check all exist 
console.log("\n\n[AUTO]");
for (const key in kruzya) {
    console.log(`[kruzya.${key}]`, kruzya[key])
}

// Manual check "should" exist props
console.log("\n\n[MANUAL]");
console.log("[kruzya.name]", kruzya.name);
console.log("[kruzya.pidor]", kruzya.pidor);
console.log("[kruzya.keys]", kruzya.keys);

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions