网站制作学习网ASP→正文:HEX解码
字体:

HEX解码

ASP 2010/1/13 11:42:22  点击:不统计


站长工具中有HEX编码,将网址变成HEX编码,并且能通过HEX编码进行网站访问,但是有了HEX编码,怎么HEX解码呢?
下面就是详细步骤,那本站网址为例,http://www.forasp.cn,HEX编码为:http://%77%77%77%2e%66%6f%72%61%73%70%2e%63%6e

<%
On Error Resume Next
Response.Buffer = True
Response.ExpiresAbsolute = Now() - 1
Response.Expires = 0
Response.CacheControl = "no-cache"
Response.AddHeader "Pragma", "No-Cache"
Response.Charset ="GB2312"
temp_url = "%77%77%77%2e%66%6f%72%61%73%70%2e%63%6e"'这里没有HTTp://
temp_url_array = Split(temp_url,"%")
For i = 1 To UBound(temp_url_array)
end_code = end_code& Chr(CLng("&H"&temp_url_array(i)))
Next
response.write end_code '解密后输出www.forasp.cn
%>

其实就是一个反编译的过程,本站:站长工具


forasp.cn

·上一篇:asp十六进制转换十进制 >>    ·下一篇:asp获取对象绝对位置 >>
推荐文章
最新文章