This is what hackers may do to hack HObfus [RACCOON]...

This is the intercept function for document.write.
const realw=document.write.__proto__.toString; document.__proto__.__proto__.write=function __dummy__(str){ printStr(str); };
The following `fakeToString` will feed fake toString value so it makes HObfus think that document.write is not overridden.
function fakeToString(){ let ret=Reflect.apply(target, thisArg, argumentsList); if(thisArg.name=="__dummy__"){ ret="function write() { [native code] }"; }else if(ret.indexOf("{ [native code] }")!=-1){ ret="function "+thisArg.name+"() { [native code] }"; } return ret; }; const fts=fakeToString(); console.log("fts",fts); return fts;

To countermeasure, implement `name proxy`