找回密码
 注册
【阿里云】2核2G云新老同享 99元/年,续费同价华为云精选云产品特惠做网站就用糖果主机Jtti,新加坡服务器,美国服务器,香港服务器
查看: 346|回复: 1

请帮个小忙

[复制链接]
发表于 2009 年 8 月 11 日 19:45:34 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

×
<script language="javascript">
var BB={enKey:'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',deKey:new Array(-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1),encode:function(src){var str=new Array();var ch1,ch2,ch3;var pos=0;while(pos+3<=src.length){ch1=src.charCodeAt(pos++);ch2=src.charCodeAt(pos++);ch3=src.charCodeAt(pos++);str.push(this.enKey.charAt(ch1>>2),this.enKey.charAt(((ch1<<4)+(ch2>>4))&0x3f));str.push(this.enKey.charAt(((ch2<<2)+(ch3>>6))&0x3f),this.enKey.charAt(ch3&0x3f))}if(pos<src.length){ch1=src.charCodeAt(pos++);str.push(this.enKey.charAt(ch1>>2));if(pos<src.length){ch2=src.charCodeAt(pos);str.push(this.enKey.charAt(((ch1<<4)+(ch2>>4))&0x3f));str.push(this.enKey.charAt(ch2<<2&0x3f),'=')}else{str.push(this.enKey.charAt(ch1<<4&0x3f),'==')}}return str.join('')},decode:function(src){var str=new Array();var ch1,ch2,ch3,ch4;var pos=0;src=src.replace(/[^A-Za-z0-9\+\/]/g,'');while(pos+4<=src.length){ch1=this.deKey[src.charCodeAt(pos++)];ch2=this.deKey[src.charCodeAt(pos++)];ch3=this.deKey[src.charCodeAt(pos++)];ch4=this.deKey[src.charCodeAt(pos++)];str.push(String.fromCharCode((ch1<<2&0xff)+(ch2>>4),(ch2<<4&0xff)+(ch3>>2),(ch3<<6&0xff)+ch4))}if(pos+1<src.length){ch1=this.deKey[src.charCodeAt(pos++)];ch2=this.deKey[src.charCodeAt(pos++)];if(pos<src.length){ch3=this.deKey[src.charCodeAt(pos)];str.push(String.fromCharCode((ch1<<2&0xff)+(ch2>>4),(ch2<<4&0xff)+(ch3>>2)))}else{str.push(String.fromCharCode((ch1<<2&0xff)+(ch2>>4)))}}return str.join('')}};
function p_submit(){
        document.p.q.value = BB.encode(document.main.q.value);
        document.p.submit();
        return false;
}
</script>

帮偶解密一下。这个是代理程序的js对url的加密
Jgwy.Com - Free Web Hosting Guide & Directory In China since 2001! Jgwy.Net-Jglt.Net
发表于 2009 年 8 月 11 日 20:02:58 | 显示全部楼层
【腾讯云】2核2G云服务器新老同享 99元/年,续费同价
没解出来...另外兄弟收到我发的论坛短信了吗? 可以吗?谢谢拉
Jgwy.Com - Free Web Hosting Guide & Directory In China since 2001! Jgwy.Net-Jglt.Net
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|金光论坛

GMT+8, 2024 年 11 月 18 日 22:38 , Processed in 0.019961 second(s), 22 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表