This commit is contained in:
cilame 2023-06-16 01:16:13 +08:00
parent a07d5b11cf
commit 24f22a7cd5
2 changed files with 9 additions and 1 deletions

View File

@ -1275,6 +1275,7 @@ function muti_process_defusion(jscode, config){
function muti_process_sojsondefusion(jscode, config){
var ast = parser.parse(jscode);
config = config || {}
if (ast.program.body.length == 1){
ast.program.body = ast.program.body[0].expression.callee.body.body

View File

@ -45,7 +45,14 @@ function get_ob_config(){
sojsontn.addEventListener('click', function(e){
try{
;(txt2||txt).value = muti_process_sojsondefusion(txt.value, get_ob_config())
try{
;(txt2||txt).value = muti_process_sojsondefusion(txt.value, get_ob_config())
}catch(e){
console.log('解密失败,尝试不配置清理 clear_ob_extra 再次解密')
var config = get_ob_config()
delete config.clear_ob_extra
;(txt2||txt).value = muti_process_sojsondefusion(txt.value)
}
}catch(e){
;(txt2||txt).value = e.stack
}