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

Commit

Permalink
Add NotSoWise by @FAKE1007
Browse files Browse the repository at this point in the history
  • Loading branch information
lelinhtinh committed Mar 27, 2021
1 parent aabf203 commit ec17b85
Show file tree
Hide file tree
Showing 5 changed files with 713 additions and 1 deletion.
2 changes: 2 additions & 0 deletions _data/methods.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,7 @@
name: JS Obfuscator
- key: myobfuscate
name: My Obfuscate
- key: wiseloop
name: NotSoWise
- key: cleansource
name: Clean Source
5 changes: 5 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,11 @@
type = 'obfuscatorio';
} else if (/^var\s+((?![^_a-zA-Z$])[\w$]*)\s*=\s*\[.*?\];/.test(source)) {
type = 'arrayencode';
} else if (
source.startsWith('//Protected by WiseLoop PHP JavaScript Obfuscator') ||
source.includes(';eval(function(w,i,s,e)')
) {
type = 'wiseloop';
} else if (source.indexOf('eval(') !== -1) {
if (/\b(window|document|console)\.\b/i.test(source)) return type;
type = 'evalencode';
Expand Down
Loading

0 comments on commit ec17b85

Please sign in to comment.