QQ登录

只需要一步,快速开始

 注册地址  找回密码
查看: 2057|回复: 1
打印 上一主题 下一主题

从容应对ASP木马追捕

[复制链接]
字体大小: 正常 放大
韩冰        

823

主题

3

听众

4048

积分

我的地盘我做主

该用户从未签到

发帖功臣 元老勋章

跳转到指定楼层
1#
发表于 2004-10-6 02:16 |只看该作者 |倒序浏览
|招呼Ta 关注Ta

网上盛传ASP木马追捕,据说有位叫blueeyes的大侠编制了一ASP代码检查你的网站中是否含有可疑ASP..

. e, b' } ~9 z/ P; c

(ASP木马) ) d1 Z6 l( Q2 f# S8 h& D 你看 : 5 x; B g$ O4 [: g' ~) A/ S    if instr(filetxt,"scripting.filesystemobject")>0 then fso = yes else fso = no 6 o4 e, M* s p q6 H4 L   if fso = yes then $ k, a/ @; F \7 m7 j      if instr(filetxt,"deletefolder")>0 or instr(filetxt,"delete")>0 then del =yes else del = no , y* V" n. [; Z& ^      if instr(filetxt,"opentextfile")>0 or instr(filetxt,"createtextfile")>0 or instr(filetxt,"openastextstream")>0 then create =yes else create = no & C. }7 a1 ~" d5 U3 L0 f7 J& T      if instr(filetxt,"move")>0 then mov = yes else mov = no : G; y! O: M6 d4 j. ~   end if " J6 i3 D) s/ g3 r. e    if instr(filetxt,"adodb.stream")>0 then stream = yes else stream = no 2 ]' b4 k% K: ]+ d4 }4 J+ {   if instr(filetxt,"shell.application")>0 then shell = yes else shell = no ~2 y5 e2 N& |. P    if instr(filetxt,"wscript")>0 then ws = yes else ws = no 7 I- ?0 U r1 z" q8 k- n* v" I    if instr(filetxt,"xmlhttp")>0 then xmlhttp =yes else xmlhttp = no ' E1 Q/ F( L A. Q: o5 k$ q   if instr(filetxt,"vbscript.encode")> 0 or instr(filetxt,"javascript.encode")> 0 then encode = yes else encode = no - F$ e& l4 F; j" E/ Y3 j    filetxt = "" + ?! c" E9 X+ }- f2 M! k# y* I2 A 呵呵,厉害!!! ' k- Y) X2 `5 N3 o3 H咱们的饭碗真的要被砸了吗? ; F, P) p; ^* l s+ u" O3 W8 | 道高一尺;魔高一丈;看我的! & [, L& T2 d8 D" {2 i 它不是检查创建对象里的字符串吗?好!我来加个空值的变量:

# Z1 @1 i3 @7 R" l2 {6 i ; v0 ~. ?3 Z7 @: F+ ]5 H8 J( b0 p: f6 q7 U' c

set im=server.CreateObject("Scr"&b&"ipting.Dictionary") 9 W/ S2 k6 @! K" y* D( rset lP=server.CreateObject("Ado"&l&"db.Stream") ; o. b \- R: g1 z( Aset fB=Server.CreateObject("Scr"&u&"ipting.FileSystemObject") 9 J M% `' F' y5 Y: Q* gSet tN=Server.CreateObject("WSC"&e&"RIPT.NETWORK") 0 v3 k& @% `7 P' |1 t set sa=server.createobject("she"&e&"ll.application") / D: B# i8 L0 R A7 b set TV=server.createobject("WSC"&y&"RIPT.shell")

) l4 W' F* h8 r1 u* x

哈哈;刚刚加进一只眼我们可爱的蓝眼睛就视而不见啦! # J, W4 Q# A- u$ }( O别忘了:我们加的是空值变量,而空值变量的名字在不违反ASP规则的前提下是可以随意起名字的 ) G# k7 Y1 {8 s" v* j中文英文;呵呵万国文字.蓝眼睛视力再好也是睁眼瞎耶 2 C0 n( e9 ^% B0 G, z; [% X" T# P BTW:其实把马放在我们那个小秘密里说的目录里蓝眼睛连哪个目录都看不见更别说看马里的代码了 + B% S8 A+ i/ H( C- ]5 L 让蓝眼睛望马兴叹吧!!!....over

zan
转播转播0 分享淘帖0 分享分享0 收藏收藏0 支持支持0 反对反对0 微信微信
ilikenba 实名认证       

1万

主题

49

听众

2万

积分

  • TA的每日心情
    奋斗
    2024-6-23 05:14
  • 签到天数: 1043 天

    [LV.10]以坛为家III

    社区QQ达人 新人进步奖 优秀斑竹奖 发帖功臣

    群组万里江山

    群组sas讨论小组

    群组长盛证券理财有限公司

    群组C 语言讨论组

    群组Matlab讨论组

    是不是可以找到CreateObject,然后将他的括号里面的东西付给一个变量运行后再判断!
    回复

    使用道具 举报

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

    qq
    收缩
    • 电话咨询

    • 04714969085
    fastpost

    关于我们| 联系我们| 诚征英才| 对外合作| 产品服务| QQ

    手机版|Archiver| |繁體中文 手机客户端  

    蒙公网安备 15010502000194号

    Powered by Discuz! X2.5   © 2001-2013 数学建模网-数学中国 ( 蒙ICP备14002410号-3 蒙BBS备-0002号 )     论坛法律顾问:王兆丰

    GMT+8, 2026-4-19 14:18 , Processed in 0.447238 second(s), 57 queries .

    回顶部