<< Prev
[ Mode: 9 ]
Next >>
document.__proto__.__proto__.write=function(str){
printStr(str);
};
//---------------------------------------------------
// If CJsObfShield_shift がある場合、
// 1回目のコールは、CJsObfShield_shift内部から来る。
// この場合、オリジナルの関数をコールして、
// 改ざんされていないようなふりをする。
//---------------------------------------------------
let CtS=0;
const handlers={
apply: function (target, thisArg, argumentsList) {
console.log("CtS: "+(++CtS));
if(CtS==1){
return Reflect.apply(target, thisArg, argumentsList);
}else{
return "function write() { [native code] }";
}
}
};
document.write.__proto__.toString=new Proxy(document.write.__proto__.toString,handlers);
Uncheck Remove JavaScript Error Report to see ERROR MESSAGE!
Open console.log for Error Messages.