willnode / deobfuscator

Online Javascript Deobfuscator Tool
https://willnode.github.io/deobfuscator/
133 stars 18 forks source link

Simplify Hex Name add more characters #12

Open ewwink opened 2 years ago

ewwink commented 2 years ago

I think it is good idea if it replace _0xZZZ with readable names like namora/potato/mokaro/kalimu instead of short names a/b/ab/cb

here an idea to generate the names

function generateName() {
    let result = '';
    let chars = '';
    for (let i = 0; i < 6; i++) {
        chars = i % 2 == 0 ? 'bcdfghjklmnprstwy' : 'aiueo';
        result += chars.charAt(Math.floor(Math.random() * chars.length));
    }
    return result;
}
generateName();
// namora/potato/mokaro/kalimu