Git Product home page Git Product logo

Comments (15)

TorRanfelt avatar TorRanfelt commented on May 27, 2024

I got it to work through obfuscator-loader. However, I would rather use webpack-obfuscator.

module: { rules: [ { test: /\.js$/, include: [somePath], enforce: 'post', use: { loader: 'obfuscator-loader', options: { compact: true } } } ] }

from webpack-obfuscator.

star-collector avatar star-collector commented on May 27, 2024

I have encountered the same problem. It seems like all versions of this plugin above 0.18.0 are broken. 0.18.0 works just fine.

from webpack-obfuscator.

sanex3339 avatar sanex3339 commented on May 27, 2024

0.18.1+ versions are required [email protected]+

from webpack-obfuscator.

star-collector avatar star-collector commented on May 27, 2024

@sanex3339 I use [email protected] (latest) and still face the same issue. 0.18.1 and 0.18.2 just don't work for me.

from webpack-obfuscator.

paul-piro avatar paul-piro commented on May 27, 2024

Same issue here the plugin doesn't do anything

from webpack-obfuscator.

sanex3339 avatar sanex3339 commented on May 27, 2024

Did you all are use plugin without any options? Just raw new JavaScriptObfuscator()?

from webpack-obfuscator.

paul-piro avatar paul-piro commented on May 27, 2024

No, i have the following options:

new JavaScriptObfuscator({
rotateUnicodeArray: true,
compact: true,
controlFlowFlattening: true,
controlFlowFlatteningThreshold: 0.75,
deadCodeInjection: true,
deadCodeInjectionThreshold: 0.4,
debugProtection: true,
debugProtectionInterval: true,
disableConsoleOutput: true,
rotateStringArray: true,
selfDefending: true,
stringArray: true,
stringArrayEncoding: true,
stringArrayThreshold: 0.8,
unicodeEscapeSequence: true
})

Working fine in 0.18.0!

from webpack-obfuscator.

sanex3339 avatar sanex3339 commented on May 27, 2024

@paul321 what webpack version you are using?

from webpack-obfuscator.

paul-piro avatar paul-piro commented on May 27, 2024

Version: webpack 4.35.2

from webpack-obfuscator.

star-collector avatar star-collector commented on May 27, 2024

@sanex3339 I use only rotateUnicodeArray.

from webpack-obfuscator.

sanex3339 avatar sanex3339 commented on May 27, 2024

Don't know how to reproduce this bug. For me with webpack 4.3.0 all works fine with this config:
https://github.com/javascript-obfuscator/webpack-obfuscator/blob/master/test/config/webpack.config.js

from webpack-obfuscator.

sanex3339 avatar sanex3339 commented on May 27, 2024

O, looks like something happen now

from webpack-obfuscator.

sanex3339 avatar sanex3339 commented on May 27, 2024

Please try 0.18.3. Works on [email protected] for me now.

from webpack-obfuscator.

star-collector avatar star-collector commented on May 27, 2024

@sanex3339 Yes, the obfuscation seems to be working again. Thanks.

from webpack-obfuscator.

TorRanfelt avatar TorRanfelt commented on May 27, 2024

@sanex3339 It's working with the new release. Thank you.

from webpack-obfuscator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.