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

jsconfuser: new plugin #117

Draft
wants to merge 21 commits into
base: main
Choose a base branch
from
Draft

jsconfuser: new plugin #117

wants to merge 21 commits into from

Conversation

echo094
Copy link
Owner

@echo094 echo094 commented Sep 2, 2024

close #112

WIP

@echo094 echo094 added the wip Work in progress label Sep 2, 2024
@echo094 echo094 force-pushed the jsconfuser branch 2 times, most recently from 03a40a2 to cd2859e Compare September 22, 2024 09:57
while (changed) {
checkStackInvalid(path, invalid)
if (!checkChangeValid(invalid, used)) {
path.replaceWith(prase(orig_code))

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ReferenceError: prase is not defined

@einstein95
Copy link

/Users/pc/decode-js/src/visitor/jsconfuser/stack.js:197
  const stk_name = path.node.params[0].argument.name
                                   ^

TypeError: Cannot read properties of undefined (reading '0')
    at tryStackReplace (/Users/pc/decode-js/src/visitor/jsconfuser/stack.js:197:36)
    at processStackParam (/Users/pc/decode-js/src/visitor/jsconfuser/stack.js:298:15)
    at Identifier (/Users/pc/decode-js/src/visitor/jsconfuser/stack.js:324:9)
    at NodePath._call (/Users/pc/decode-js/node_modules/@babel/traverse/lib/path/context.js:49:20)
    at NodePath.call (/Users/pc/decode-js/node_modules/@babel/traverse/lib/path/context.js:39:18)
    at NodePath.visit (/Users/pc/decode-js/node_modules/@babel/traverse/lib/path/context.js:85:31)
    at TraversalContext.visitQueue (/Users/pc/decode-js/node_modules/@babel/traverse/lib/context.js:89:16)
    at TraversalContext.visitSingle (/Users/pc/decode-js/node_modules/@babel/traverse/lib/context.js:65:19)
    at TraversalContext.visit (/Users/pc/decode-js/node_modules/@babel/traverse/lib/context.js:112:19)
    at traverseNode (/Users/pc/decode-js/node_modules/@babel/traverse/lib/traverse-node.js:22:17)

code.js.zip

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

Successfully merging this pull request may close these issues.

jsconfuser: 新混淆工具
2 participants