Skip to content
This repository has been archived by the owner on Dec 7, 2021. It is now read-only.

Add WiseLoop unpacker #67

Closed
Alluseri opened this issue Mar 27, 2021 · 4 comments
Closed

Add WiseLoop unpacker #67

Alluseri opened this issue Mar 27, 2021 · 4 comments

Comments

@Alluseri
Copy link

Is your feature request related to a problem? Please describe.
It is not related to a problem of mine, but I want de4js to expand as a project, so I am submitting a useful feature.

Describe the solution you'd like
I have this Javascript project: https://github.com/FAKE1007/NotSoWise/blob/main/notsowise.js
Perhaps you could make a good unpacker from that code. It's not perfect, and I believe it might have a few problems, but it works, so you could take that as a base.

Additional context
WiseLoop Packer link: https://wiseloop.com/demo/php-javascript-obfuscator

@lelinhtinh
Copy link
Owner

Although the Eval Method can decode this, it's not as easy and clean as your library.
I understand you want to contribute a Pull Request, but looking at my smelly code you don't know where to start - sorry for that.
Every time I add a new feature or fix a bug, that's every time I want to refactor this sh*t, ... at next time. So far, it never be completed.
If anyone else can help, PR is always welcome.

@lelinhtinh
Copy link
Owner

I made a little change and added NotSoWise to this project. ec17b85
If you continue to develop NotSoWise into a complete library, I will add it as a Git Submodule.

@Alluseri
Copy link
Author

Thanks, I will try to continue improving my project!

@Alluseri
Copy link
Author

Hello. I have updated my project: https://github.com/FAKE1007/NotSoWise/blob/main/unpacker.js

I styled it so it would fit other modules(based off of ArrayDecode.js), and added 2 different modes: Eval and Functional. I am not sure if I want to do a pull request or not, since if I'm going to break something it's going to be on me.

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

No branches or pull requests

2 participants