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

SyntaxError: Identifier '_0x0FD4B81' has already been declared #119

Open
Probabilities opened this issue Dec 3, 2023 · 1 comment
Open
Labels
bug Something isn't working

Comments

@Probabilities
Copy link

Describe the bug:

SyntaxError: Identifier '_0x0FD4B81' has already been declared

Config and Small code sample

Config:

{
            target: 'node',
            preset: 'high',
    
            nameRecycling: false, // Gives error if true

            stringConcealing: true,
            stringEncoding: true,
            stringSplitting: 0.99,

            shuffle: { hash: 0.99, true: 0.99 },
            identifierGenerator: 'hexadecimal',

            globalVariables: true,      
            objectExtraction: true,
            renameGlobals: true,
            renameVariables: true, // variable errors with true
            deadCode: true,
            
            calculator: true,
            stack: true,
            compact: true,
            lock: {
                osLock: ['windows'],
                integrity: true,
                antiDebug: false,
                countermeasures: true,
                selfDefending: true,
            },
        }

Code:

The code is span across multiple files. Summing up to around 5k lines of code. (cant send it)

Expected behavior

Should work lol

Actual behavior

Errors with "SyntaxError: Identifier '_0x0FD4B81' has already been declared"

Additional context

No idea what part of my code is causing this error since such a large project. Found that "renameVariables" is causing this error though. When set to false it runs fine but sensitive data can be seen when set to false. With that I would rather change my code than have this setting disabled.

@Probabilities Probabilities added the bug Something isn't working label Dec 3, 2023
@Probabilities
Copy link
Author

Update: found the file in which the error is. I am willing to send the code to MichaelXF but I will not post public on github.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant