JSREI / ast-hook-for-js-RE

浏览器内存漫游解决方案(探索中...)
Other
1.5k stars 393 forks source link

Uncaught DOMException: Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded #16

Open lalalatutu opened 3 years ago

lalalatutu commented 3 years ago

好像是hook到evel的代码执行转码有问题,尝试了这几个,好像都不管用 xhr.send(window.btoa(unescape(encodeURIComponent(jsCode)))); xhr.send(decodeURIComponent(escape(window.atob(jsCode))));

2687dc3f7e3dd21ce1cc9bfaf6dc699

skyyearxp commented 1 year ago

这个可能是启动 proxy-server 的时候,最好切换到 src\proxy-server 目录中后,再启动 proxy-server。我在项目根目录启动 proxy-server 时,遇到了和你上面相同的报错代码。切换目录后再启动就好了 cd src\proxy-server node proxy-server