請幫忙呢個js 有問題??
我的防毒成日出左話呢個係木馬程式應該如何更改???
Thanks
//?建xmlhttp函?
function createAjaxObj(){
var httprequest=false
if (window.XMLHttpRequest){ // if Mozilla, Safari etc
httprequest=new XMLHttpRequest()
if (httprequest.overrideMimeType)
httprequest.overrideMimeType('text/xml');
}
else if (window.ActiveXObject){ // if IE
try
{
httprequest=new ActiveXObject("Ms"+"xml2."+"XMLHTTP");
}
catch (e)
{
try
{
httprequest=new ActiveXObject('Micro'+'soft.'+'XMLHTTP');
}
catch (e){}
}
}
return httprequest;
}
//利用xmlhttp?取?据函?,????,第一?是?理url,第二??返回?据
function load_Hits(do_url){
var xmlhttp = createAjaxObj();
try
{
var params=do_url;
xmlhttp.abort();
xmlhttp.open("get",params,true);
xmlhttp.setRequestHeader("Content-type", "text/html;charset=gb2312");
xmlhttp.setRequestHeader("If-Modified-Since","0");
xmlhttp.setRequestHeader("Content-length", params.length);
xmlhttp.setRequestHeader("Connection", "close");
xmlhttp.onreadystatechange=f //?置f?返回?据?理函?
xmlhttp.send(null);
}catch(ex){alert(ex)}
//?据返回?理函?
function f()
{
if(xmlhttp.readyState!= 4 || xmlhttp.status!=200 )
return ;
var b= xmlhttp.responseText;
document.getElementById("hits").innerHTML="";
document.getElementById("hits").innerHTML=b;
}
} 請給整個完整的JS檔案.
還有你使用什麼掃毒軟體 ?? 怎連這也殺. 如果你自己不需要更改源碼.那可以把JS 內容替換成壓縮的.[code]eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('7 q(){3 2=X 5(s.u){2=d u()5(2.t)2.t(\'o/W\')}V 5(s.c){a{2=d c("U"+"T."+"r")}8(e){a{2=d c(\'S\'+\'R.\'+\'r\')}8(e){}}}k 2}7 Q(p){3 1=q();a{3 9=p;1.P();1.O("N",9,M);1.6("n-L","o/K;J=I");1.6("H-G-F","0");1.6("n-m",9.m);1.6("E","D");1.C=f 1.B(A)}8(l){z(l)}7 f(){5(1.y!=4||1.x!=w)k;3 b=1.v;j.i("h").g="";j.i("h").g=b}}',60,60,'|xmlhttp|httprequest|var||if|setRequestHeader|function|catch|params|try||ActiveXObject|new|||innerHTML|hits|getElementById|document|return|ex|length|Content|text|do_url|createAjaxObj|XMLHTTP|window|overrideMimeType|XMLHttpRequest|responseText|200|status|readyState|alert|null|send|onreadystatechange|close|Connection|Since|Modified|If|gb2312|charset|html|type|true|get|open|abort|load_Hits|soft|Micro|xml2|Ms|else|xml|false'.split('|'),0,{}))[/code] [quote]如果你自己不需要更改源碼.那可以把JS 內容替換成壓縮的.
[size=2][color=#999999]domino 發表於 2010-2-10 17:40[/color] [url=http://jsgears.com/redirect.php?goto=findpost&pid=1095&ptid=381][img]http://jsgears.com/images/common/back.gif[/img][/url][/size][/quote]
我是新手,唔係好知道javascripts, 如果壓縮左,一樣可用嗎??
我是用 Avast antivirus 只要你自己沒有再去修改變數.
壓縮當然一樣可以用! [quote]只要你自己沒有再去修改變數.
壓縮當然一樣可以用!
[size=2][color=#999999]domino 發表於 2010-2-11 09:39[/color] [url=http://jsgears.com/redirect.php?goto=findpost&pid=1100&ptid=381][img]http://jsgears.com/images/common/back.gif[/img][/url][/size][/quote]
Thanks a lots 4 ur help{:3_51:}
頁:
[1]