首页
社区
课程
招聘
[求助]高人看看这个代码是什么加密的?
发表于: 2005-12-28 14:15 6176

[求助]高人看看这个代码是什么加密的?

2005-12-28 14:15
6176
在网上逛的时候发现下面的代码:
<!--/HEAD--><BODY><NOSCRIPT>To display this page you need a browser with JavaScript support.</NOSCRIPT><SCRIPT LANGUAGE="JavaScript"><!--
hp_d01(">`mf{\x22vmrocpekl? 2 \x22ngdvocpekl? 2 \x22mlamlvgzvoglw? pgvwpl\x22dcnqg \x22mlfpceqvcpv? pgvwpl\x22dcnqg \x22mlqgngavqvcpv\x22? pgvwpl\x22dcnqg \x22mlqgngav? fmawoglv,qgngavkml,gorv{*+ \x22mlamr{? fmawoglv,qgngavkml,gorv{*+ \x22ml`gdmpgamr{? pgvwpl\x22dcnqg \x22mlomwqgwr? fmawoglv,qgngavkml,gorv{*+ \x3C>vc`ng\x22ukfvj? 322' \x22jgkejv? 42 \x22\x22`mpfgp? 2 \x22agnnrcffkle? 2 \x22agnnqrcakle? 3 \x22`eamnmp? !111111 \x3C\x22\x22>vp\x3C\x22\x22\x22\x22>vf\x22jgkejv? 42 \x22`eamnmp? !444444 \x3C>fkt\x22cnkel? aglvgp \x22\x3C>dmlv\x22amnmp? !DDDDDD ・・・・・・・・
看起来不是普通的HTML代码,好像是加密了的,请问高人有什么解密的方法吗??

[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课

收藏
免费 0
支持
分享
最新回复 (9)
雪    币: 200
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
2
高人帮忙啊・・ 求求您了・・・
2005-12-29 17:12
0
雪    币: 427
活跃值: (412)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
3
学学JS,你就会解了,很简单的
2005-12-29 18:03
0
雪    币: 214
活跃值: (70)
能力值: ( LV6,RANK:90 )
在线值:
发帖
回帖
粉丝
4
后面应该还有一段,帖完整出来,才能帮你解呀
2005-12-29 20:14
0
雪    币: 1167
活跃值: (1584)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
5
HTML Protector

http://www.antssoft.com/htmlprotector/
2005-12-29 22:47
0
雪    币: 300
活跃值: (412)
能力值: ( LV9,RANK:410 )
在线值:
发帖
回帖
粉丝
6
给出全部代码呀?
2005-12-30 10:21
0
雪    币: 1167
活跃值: (1584)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
7
要完整代码去这看吧

http://www.antssoft.com/htmlprotector/protected_sample.htm
2005-12-30 10:35
0
雪    币: 300
活跃值: (412)
能力值: ( LV9,RANK:410 )
在线值:
发帖
回帖
粉丝
8
<!--hppage status="protected"-->
<html>
<head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><SCRIPT LANGUAGE="JavaScript"><!--
hp_ok=true;function hp_d01(s){if(!hp_ok)return;var o="",ar=new Array(),os="",ic=0;for(i=0;i<s.length;i++){c=s.charCodeAt(i);if(c<128)c=c^2;os+=String.fromCharCode(c);if(os.length>80){ar[ic++]=os;os=""}}o=ar.join("")+os;document.write(o)}//--></SCRIPT>  

<SCRIPT LANGUAGE="JavaScript"><!--
function hp_ne(){return true}onerror=hp_ne;function hp_dn(a){return false}function hp_cm(){alert("\u0054\u0068\u0069\u0073\u0020\u0070\u0061\u0067\u0065\u0020\u0068\u0061\u0073\u0020\u0062\u0065\u0065\u006E\u0020\u0070\u0072\u006F\u0074\u0065\u0063\u0074\u0065\u0064\u002E\u0020\u0050\u0072\u0065\u0076\u0069\u0065\u0077\u0020\u006F\u006E\u006C\u0079\u002E");return false}function hp_de(e){return(e.target.tagName!=null&&e.target.tagName.search('^(INPUT|TEXTAREA|BUTTON|SELECT)$')!=-1)};function hp_md(e){mac=navigator.userAgent.indexOf('Mac')!=-1;if(document.all){if(event.button==2||(mac&&(event.ctrlKey||event.keyCode==91))){alert("\u0054\u0068\u0069\u0073\u0020\u0070\u0061\u0067\u0065\u0020\u0068\u0061\u0073\u0020\u0062\u0065\u0065\u006E\u0020\u0070\u0072\u006F\u0074\u0065\u0063\u0074\u0065\u0064\u002E\u0020\u0050\u0072\u0065\u0076\u0069\u0065\u0077\u0020\u006F\u006E\u006C\u0079\u002E");return(false)}}else{if(e.which==3||(mac&&(e.modifiers==2||e.ctrlKey))){alert("\u0054\u0068\u0069\u0073\u0020\u0070\u0061\u0067\u0065\u0020\u0068\u0061\u0073\u0020\u0062\u0065\u0065\u006E\u0020\u0070\u0072\u006F\u0074\u0065\u0063\u0074\u0065\u0064\u002E\u0020\u0050\u0072\u0065\u0076\u0069\u0065\u0077\u0020\u006F\u006E\u006C\u0079\u002E");return false}else if(e.which==1){window.captureEvents(Event.MOUSEMOVE);window.onmousemove=hp_dn}}}function hp_mu(e){if(e.which==1){window.releaseEvents(Event.MOUSEMOVE);window.onmousemove=null}}if(navigator.appName.indexOf('Internet Explorer')==-1||(navigator.userAgent.indexOf('MSIE')!=-1&&document.all.length!=0)){if(document.all){mac=navigator.userAgent.indexOf('Mac')!=-1;version=parseFloat('0'+navigator.userAgent.substr(navigator.userAgent.indexOf('MSIE')+5),10);if(!mac&&version>4){document.oncontextmenu=hp_cm}else{document.onmousedown=hp_md;document.onkeydown=hp_md;}document.onselectstart=hp_dn}else if(document.layers){window.captureEvents(Event.MOUSEDOWN|Event.modifiers|Event.KEYDOWN|Event.MOUSEUP);window.onmousedown=hp_md;window.onkeydown=hp_md;window.onmouseup=hp_mu}else if(document.getElementById&&!document.all){document.oncontextmenu=hp_cm;document.onmousedown=hp_de}}if(window.location.href.substring(0,4)=="file")window.location="about:blank";function hp_nls(){window.status="";setTimeout("hp_nls()",10)}hp_nls();function hp_dp1(){for(i=0;i<document.all.length;i++){if(document.all[i].style.visibility!="hidden"){document.all[i].style.visibility="hidden";document.all[i].id="hp_id"}}};function hp_dp2(){for(i=0;i<document.all.length;i++){if(document.all[i].id=="hp_id")document.all[i].style.visibility=""}};window.onbeforeprint=hp_dp1;window.onafterprint=hp_dp2;document.write('<style type="text/css" media="print"><!--body{display:none}--></style>');function hp_dc(){hp_ta.createTextRange().execCommand("Copy");setTimeout("hp_dc()",300)}if(navigator.appName.indexOf('Internet Explorer')==-1||(navigator.userAgent.indexOf('MSIE')!=-1&&document.all.length!=0)){if(document.all&&navigator.userAgent.indexOf('Opera')==-1){document.write('<div style="position:absolute;left:-1000px;top:-1000px"><input type="textarea" name="hp_ta" value=" " style="visibility:hidden"></div>');hp_dc()}}function hp_ndd(){return false}document.ondragstart=hp_ndd;if(navigator.appName.indexOf('Internet Explorer')!=-1&&(navigator.userAgent.indexOf('MSIE')==-1||document.all.length==0))hp_ok=false;if(document.all)document.write('<link rel=stylesheet type="text/css" href="hp_null.css">');if(frames){if(top.frames.length>0)top.location.href=self.location;}if(window.location.href.indexOf("http://www.antssoft.com/")==-1)window.location="about:blank";//--></SCRIPT>

<body bgcolor="#FFFFFF" text="#000000">
<h1 align="center">Sample page protected by HTMLProtector<br>
  <br>
</h1>
<table width="100%" border="0">
  <tr>
    <td width="120">
      <div align="center"><!--hpbackupstart type="0" data="2W5pn9+EsovULLdpqojmraiKiG3e5VoGqkqHfsXcsTghiHfPn1Bw/d20JDo9"--><table border="0" cellpadding="0" cellspacing="0"><tr><td><img src="b9509bd90c98ebc3cfae7b82240758b5.jpg" hspace="0" vspace="0" width="40" height="40"></td><td><img src="8c356f8d82b111ca30a7d132a4ed3019.jpg" hspace="0" vspace="0" width="40" height="40"></td></tr><tr><td><img src="d36c8f474aa3b3eab6760fc229c9b00f.jpg" hspace="0" vspace="0" width="40" height="40"></td><td><img src="415011285b1989079a6ef32b794911d7.jpg" hspace="0" vspace="0" width="40" height="40"></td></tr></table><!--hpbackupend--></div>
    </td>
    <td width="874">
      <p align="center">It's a sample text paragraph.<br>
        <a href="/htmlprotector/index.htm">It's a sample link</a>.<br>
        <a href="mailto:support@antssoft.com">It's a sample email link</a>.</p>
    </td>
  </tr>
</table>
<p>This page has been protected by HTMLProtector with follow features:</p>
<ul>
  <li>Protect BODY section</li>
  <li>Make page expire immediately</li>
  <li>Disable Internet Explorer 6 image toolbar</li>
  <li>Disable right mouse button</li>
  <li>Disable text select</li>
  <li>Disable off-line viewing</li>
  <li>Don't display links in status bar</li>
  <li>Disable page printing</li>
  <li>Disable clipboard and printscreen</li>
  <li>Disable drag and drop</li>
  <li>Disable adobe acrobat web capture</li>
  <li>Kill frame</li>
  <li>Location lock</li>
  <li>Protect image by splitting it into pieces</li>
</ul>
<p>Please take a look on what HTMLProtector can do for you!</p>
</body>
2005-12-30 11:23
0
雪    币: 3
活跃值: (384)
能力值: ( LV4,RANK:50 )
在线值:
发帖
回帖
粉丝
9
破解所谓的“网页源代码加密”
在地址栏或按Ctrl+O,输入:

javascript:s=document.documentElement.outerHTML;document.write('<body></body>');document.body.innerText=s;

源代码就出来了。不论加密如何复杂,最终都要还原成浏览器可以解析的html代码,而documentElement.outerHTML正是最终的结果
2005-12-30 11:57
0
雪    币: 214
活跃值: (70)
能力值: ( LV6,RANK:90 )
在线值:
发帖
回帖
粉丝
10
最初由 wsgtrsys 发布
破解所谓的“网页源代码加密”
在地址栏或按Ctrl+O,输入:

javascript:s=document.documentElement.outerHTML;document.write('<body></body>');document.body.innerText=s;

........

还是你帅
2005-12-30 21:54
0
游客
登录 | 注册 方可回帖
返回
//