Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
smallfawn authored Jun 29, 2024
1 parent 2ed242e commit 2216200
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const PluginSojson = require('./plugin/sojson.js')
const PluginSojsonV7 = require('./plugin/sojsonv7.js')
const PluginObfuscator = require('./plugin/obfuscator.js')
const PluginAwsc = require('./plugin/awsc.js')
const PluginObfuscator2 = require('./plugin/obfuscator2.js')

// 读取参数
let encodeFile = 'input.js'
Expand All @@ -29,12 +30,14 @@ let pluginUsed = '';

// 循环尝试不同的插件,直到源代码与处理后的代码不一致
const plugins = [
{ name: 'sojson', plugin: PluginSojson },
{ name: 'obfuscator', plugin: PluginObfuscator2 },
{ name: "ob2", plugin: PluginObfuscator },
{ name: 'sojsonv7', plugin: PluginSojsonV7 },
{ name: 'obfuscator', plugin: PluginObfuscator },
{ name: 'sojson', plugin: PluginSojson },
{ name: 'awsc', plugin: PluginAwsc },
{ name: 'jjencode', plugin: PluginJjencode },
{ name: 'common', plugin: PluginCommon } // 最后一次使用通用插件
{ name: 'common', plugin: PluginCommon },// 最后一次使用通用插件

];

for (let plugin of plugins) {
Expand Down

0 comments on commit 2216200

Please sign in to comment.