- 精华
- 阅读权限
- 100
- 好友
- 相册
- 分享
- 听众
- 收听
- 注册时间
- 2007-2-14
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|

楼主 |
发表于 2023-10-31 10:39:45
|
显示全部楼层
没加密啊,吓得我专门去看了一眼,好好的ASP代码哪有加密,连后门都写得清清楚楚~
- if isempty(Request.Cookies("anhei")("liaotianrefreshtime")) or Request.Cookies("anhei")("liaotianrefreshtime")="" then
- Response.Cookies("anhei")("liaotianrefreshtime")=now()
- elseif datediff("s",Request.Cookies("anhei")("liaotianrefreshtime"),now())<20-viplv and str1="" then
- response.Write "刷新时间太快"
- response.End()
- else
- Response.Cookies("anhei")("liaotianrefreshtime")=now()
- end if
- StrSql="select * from [usermessage] where [qu]="&serverline&" or [qu]=0 order by id asc"
- set rs=server.CreateObject("adodb.recordset")
- rs.open StrSql,connstr,1,3
- if str2="获取最新聊天信息" then
- if isempty(Request.Cookies(username)("lianxubudenglu")) or Request.Cookies(username)("lianxubudenglu")="" then
- elseif Request.Cookies(username)("lianxubudenglu")>0 then
- response.Write "<font class='red'>【系统提示】</font><br/><font class='red12'>你已经有"&Request.Cookies(username)("lianxubudenglu")&"小时未登录游戏<br/>如果出现装备或道具不见的情况<br/>请打开包裹,点击整理、取出,整理完毕后刷新游戏即可<br/></font>"%>
- <br/><a class="white hand" onClick="Change('连续未登录提示','饼干'),Nonediv('tishi')" >「我知道了」</a>
- <%response.End()
- end if
- '控制刷新时间
- if rs.bof or rs.eof then
- response.End()
- end if
- num=rs.recordcount
- if datediff("s","20:00:00",time())>=0 and datediff("s","20:30:00",time())<0 then
- elseif datediff("s","21:00:00",time())>=0 and datediff("s","21:30:00",time())<0 then
- else
- if num>=100 and viplv>=8 then
- set Conn=server.CreateObject("adodb.connection")
- Conn.open connstr
- Conn.execute "delete from [usermessage] where [qu]="&serverline&" or [qu]=0"
- Conn.close
- set Conn=nothing
- response.End()
- end if
- '清理聊天信息
- end if
- do while not rs.eof
- if instr(rs("from"),"系统提示")>=1 or instr(rs("txt"),"系统提示")>=1 then
- elseif instr(rs("from"),"管理")>=1 then
- elseif rs("from")="雪奈" or rs("from")="大虫" then
- response.Write "<font color='#F53F3C' class='border-white'>["&rs("from")&"]:"&rs("txt")&"</font><br/>"
- else
- if rs("from")="系统" or rs("from")="破烂王" then
- response.Write "<font color='#F53F3C'>["&rs("from")&"]</font>:"&rs("txt")&"<br/>"
- else
- response.Write "<font color='#14FD6C'>["&rs("from")&"]</font>:"&rs("txt")&"<br/>"
- end if
- end if
- rs.movenext
- loop
- elseif str2="发送聊天信息" then
- if str1="累计充值" then
- StrSql="select * from [usering] where [name]='隐藏充值金额' and [to]='"&username&"'"
- set rs=server.CreateObject("adodb.recordset")
- rs.open StrSql,connstr,1,3
- if rs.eof or rs.bof then
- else
- rs.delete
- end if
- rs.close
- set rs=nothing
- response.End()
- end if
- if datediff("s","20:00:00",time())>=0 and datediff("s","20:30:00",time())<0 then
- call tishitxt("<font color='#F53F3C'>[友情提示]:憩息之岛活动期间不能聊天</font><br/>")
- elseif datediff("s","21:00:00",time())>=0 and datediff("s","21:30:00",time())<0 then
- call tishitxt("<font color='#F53F3C'>[友情提示]:竞技神殿活动期间不能聊天</font><br/>")
- end if
- if userrs("name")="系统" or userrs("name")="破烂王" then
- str1=""
- elseif userrs("lv")<500 then
- call tishitxt("<font color='#F53F3C'>[友情提示]:500级才可以聊天</font><br/>")
- end if
- if isempty(Request.Cookies("anhei")("liaotianjiangetime")) or Request.Cookies("anhei")("liaotianjiangetime")="" then
- Response.Cookies("anhei")("liaotianjiangetime")=now()
- elseif datediff("s",Request.Cookies("anhei")("liaotianjiangetime"),now())<3 then
- call tishitxt("<font color='#F53F3C'>[友情提示]:每次聊天间隔至少需要3秒</font><br/>")
- else
- Response.Cookies("anhei")("liaotianjiangetime")=now()
- end if
- if str1="" then
- response.End()
- elseif len(str1)>100 then
- call tishitxt("<font color='#F53F3C'>[友情提示]:聊天内容太长,不能超过100字</font><br/>")
- else
- if userrs("name")="雪奈" or userrs("name")="大虫" then
- str1="<font class='red18'><img src='Images/liaotian/crown.gif' / title='GM'>"&str1&"</font>"
- elseif Request.Cookies(username)("yingxiongbang_zuoritiaozhan_paiming")="" then
- elseif int(Request.Cookies(username)("yingxiongbang_zuoritiaozhan_paiming"))>=1 and int(Request.Cookies(username)("yingxiongbang_zuoritiaozhan_paiming"))<=5 then
- if int(Request.Cookies(username)("yingxiongbang_zuoritiaozhan_paiming"))=1 then
- str1="("&serverline&"区)<font class='purple14-黑体'><img src='Images/liaotian/1.gif' / title='全服战力排行第一'> "&str1&"</font>"
- else
- str1="("&serverline&"区)<font class='purple14-黑体'><img src='Images/liaotian/"&int(Request.Cookies(username)("yingxiongbang_zuoritiaozhan_paiming"))&".png' / title='全服战力排行第"&int(Request.Cookies(username)("yingxiongbang_zuoritiaozhan_paiming"))&"'> "&str1&"</font>"
- end if
- end if
- if Request.Cookies(username)("yingxiongbang_zuoritiaozhan_paiming")="" then
- rs.addnew
- rs("qu")=serverline
- rs("from")=userrs("name")
- rs("txt")=str1
- rs.update
- elseif userrs("name")="雪奈" or userrs("name")="大虫" or int(Request.Cookies(username)("yingxiongbang_zuoritiaozhan_paiming"))<=5 then
- rs.addnew
- rs("qu")=0
- rs("from")=userrs("name")
- rs("txt")=str1
- rs.update
- else
- rs.addnew
- rs("qu")=serverline
- rs("from")=userrs("name")
- rs("txt")=str1
- rs.update
- end if
- end if
- end if
- rs.close
- set rs=nothing
复制代码 |
|