Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internet links text no being obfuscated in Visual Studio Code. #8

Open
ssaguiar opened this issue Oct 20, 2021 · 0 comments
Open

Internet links text no being obfuscated in Visual Studio Code. #8

ssaguiar opened this issue Oct 20, 2021 · 0 comments

Comments

@ssaguiar
Copy link

I started to use this extension for VS Code because I already know the online one at https://obfuscator.io.
I am experimenting one problem, when there are some http links in js file, because the obfuscated code stil retain the string of the http links.

for example, if I have this:

["TEST", "https://test.com/levelone/index.html", "images/channel.png", "0"]

The https://test.com/levelone/index.html will not be obfuscated.
I tried the same files at the address of the original obfuscator and it works fine, obfuscating even these addresses.
I opied the configuration parameters at that site (for the Options Preset High), but still not working.

My VSCode configuration is:

"[JSObfuscator]": {
    "changeExtension"      : "obf.js",
    "filesToIgnore"        : "",
    "ignoreMinFiles"       : true,
    "javascript-obfuscator": {
        "optionPreset"                         : "high",
        "target"                               : "browser",
        "seed"                                 : 0,
        "compact"                              : true,
        "controlFlowFlattening"                : true,
        "controlFlowFlatteningThreshold"       : 1,
        "deadCodeInjection"                    : true,
        "deadCodeInjectionThreshold"           : 1,
        "debugProtection"                      : true,
        "debugProtectionInterval"              : true,
        "disableConsoleOutput"                 : true,
        "identifierNamesGenerator"             : "hexadecimal",
        "log"                                  : false,
        "numbersToExpressions"                 : true,
        "renameGlobals"                        : true,
        "renameProperties"                     : true,
        "renamePropertiesMode"                 : "safe",
        "rotateStringArray"                    : true,
        "selfDefending"                        : true,
        "simplify"                             : true,
        "shuffleStringArray"                   : true,
        "splitStrings"                         : true,
        "splitStringsChunkLength"              : 5,            
        "stringArray"                          : true,
        "stringArrayEncoding"                  : ["rc4"],
        "stringArrayIndexShift"                : true,
        "stringArrayIndexesType"               : "hexadecimal",
        "stringArrayRotate"                    : true,
        "stringArrayShuffle"                   : true,
        "stringArrayWrappersCount"             : 5,
        "stringArrayWrappersChainedCalls"      : true,
        "stringArrayWrappersParametersMaxCount": 5,
        "stringArrayWrappersType"              : "function",
        "stringArrayThreshold"                 : 1,
        "transformObjectKeys"                  : true,
        "unicodeEscapeSequence"                : false
    },
    "overwriteExistingFiles": false,
    "subPathInWorkspace"    : ""
}

Any help would be apreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant