This commit is contained in:
cilame 2021-11-26 19:39:06 +08:00
parent 9d79cfcee7
commit b62e8431b6

View File

@ -33085,6 +33085,14 @@ function del_ob_extra(ast){
@ -33125,8 +33133,6 @@ function v_Call1(path){
@ -33213,10 +33219,10 @@ function muti_process_obdefusion(jscode){
return code; return code;
} }
function muti_process_jsfuckdefusion(jscode){ function muti_process_force_eval(jscode){
var ast = parser.parse(jscode); var ast = parser.parse(jscode);
while (1){ while (1){
if (location.href.indexOf('http') != 0){ // 处理你的脚本运行在插件时的问题 if (typeof location !== 'undefined' && location.href.indexOf('http') != 0){ // 处理你的脚本运行在插件时的问题
var _Function = Function var _Function = Function
Object.defineProperty(Function.prototype, 'constructor', { Object.defineProperty(Function.prototype, 'constructor', {
value: function() { value: function() {
@ -33229,7 +33235,7 @@ function muti_process_jsfuckdefusion(jscode){
traverse(ast, {BinaryExpression: v_Binary1,}) traverse(ast, {BinaryExpression: v_Binary1,})
traverse(ast, {MemberExpression: v_Member1,}) traverse(ast, {MemberExpression: v_Member1,})
traverse(ast, {CallExpression: v_Call1,}) traverse(ast, {CallExpression: v_Call1,})
if (location.href.indexOf('http') != 0){ if (typeof location !== 'undefined' && location.href.indexOf('http') != 0){
Object.defineProperty(Function.prototype, 'constructor', { value: _Function }) Object.defineProperty(Function.prototype, 'constructor', { value: _Function })
} }
if (jsfuck_toggle == 0){ break }else{ jsfuck_toggle = 0 } if (jsfuck_toggle == 0){ break }else{ jsfuck_toggle = 0 }