|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
您现在的位置: ChinaBeta.cn 中文IT资讯 >> 资讯中心 >> 业界资讯 >> QQ新闻 >> QQ技巧 >> 文章正文
普通文章《刀魂4》发布时间确定 将推收普通文章PC版《Mass Effect》硬件需求
普通文章AMD发布官方正式版催化剂8.4普通文章微软遭遇Windows XP SP3疯狂重
普通文章互联网视频监管“维新”普通文章eBay澳大利亚强迫用户使用贝宝
普通文章Apple发布Safari 3.1.1 for Wi普通文章ATI Catalyst 8.4 显卡驱动发布
普通文章Mozilla Firefox 2.0.0.14 简体普通文章ffdshow r1943 2008-04-16
普通文章Koepi's XviD Codec 1.1.3普通文章微软 Windows Mobile 6.1 模拟
普通文章QQ2007(PocketPC)正式版 Build推荐文章Microsoft Device Emulator 启
普通文章中联通知识产权曝隐患 “世界风普通文章Gidot TypeSetter 3.03 文章自
普通文章Process Monitor 1.31 汉化版普通文章Windows Live Hotmail注册验证
普通文章中移动暂停小区广告试点 启动垃普通文章谷歌:“永不作恶”的争议
普通文章Sun Java SE Runtime Environm普通文章Media Player Classic v6.4.9.
普通文章小红伞 Avira Premium Securit普通文章微软拼音输入法2007词库升级(2
普通文章微软确认年底发布SQL Server 2普通文章奥运官方游戏《北京2008》封面
普通文章《超级玛丽银河》版Wii主机MOD普通文章《Crysis》引擎《上古卷轴》Mo
用QQ皮肤也能做后门
Www.ChinaBeta.Cn 更新时间:2006-8-9

【ChinaBeta.Cn中文IT资讯网】

前几天lcx提示说又有QQ溢出漏洞了,于是突然的提醒我以前有几个QQ的vbs文件没认真的去看过
于是进到目录中找一下,这一找不要紧啊,差点晕死.原来我们对QQ的操作就是这样的......
那么就帅了.直接插段脚本进去,权限就继承下来想干什么就干什么了...嘿嘿
QQ皮肤脚本:
Dim UserNum
Dim Path
Dim ShowStatus
Dim foldbottom
Dim bMsgInside
Dim CurrentWidth
Dim CurrentHeight

'注释

Sub Window_OnInit() 
  Window.GetScriptVersion "1.0"  
  Path = "NewSkins\\QQ2005 Lite\\"
  ShowStatus = 1
  UserNum = "0"
  If 1 = ShowStatus Then
     UserNum = UserNum
  End If
  NewPanels.visible = false
  bMsginside = 0
End Sub

Sub Window_OnSize(cx,cy)
  Window.LockPaint()
  CurrentWidth = cx
  CurrentHeight = cy
 
  BackgroundT.width = cx - 78
  BackgroundRT.left = cx - 14

  BackgroundLB.top = cy - 110
  BackgroundB.top = cy - 110
  BackgroundB.width = cx - 24
  BackgroundRB.left = cx - 12
  BackgroundRB.top = cy - 110

  BackgroundL.height = cy - 195
  BackgroundC.width = cx - 19
  BackgroundC.height = cy - 195
  BackgroundR.left = cx - 8
  BackgroundR.height = cy - 195

  foldbottom = 65
  ntopdistance = 0
  If bMsgInside = 1 Then
    ntopdistance = 20
  End If
  NewPanels.top = 68 + ntopdistance
  Bar1.top = 70 + ntopdistance
  Bar1.width = cx - 10
  Bar1.height = cy - 97

  CloseButton.left = cx - 21
  ColorButton.left = cx - 38
  MinButton.left = cx - 55
 
  MenuButton.top = cy - 23
  PaymentButton.top = cy - 23
  QQHomeButton.top = cy - 23
  MsgManagerButton.top = cy - 23

  QQNumber.width = cx - 45

  Window.UnLockPaint()  
End Sub

'上面的三个按钮
Sub MinButton_onClick()
  Window.ExeCommand 1,2
End Sub

Sub CloseButton_onClick()
  Window.ExeCommand 1,3
End Sub

Sub ColorButton_onClick()
Window.ExeCommand 4,7
End Sub

Sub QQPushMsg_onClick()
QQPushMsg.Visible = false
bMsgInside = 0
window.RebuildRGN
Window.ExeCommand 10,0
End Sub

'六个Bar按钮
Sub Window_onClick(code, Name)
  Window.LockPaint()
  Window.DisableBar CStr(Name)
  Window.ExeCommand code,CStr(Name)
  Window.UnLockPaint()
End Sub

'顶部的按钮组
Sub StatusButton_onClick()
  s = CStr(StatusButton.Left + StatusButton.width - 10)&"."&CStr(StatusButton.Top + StatusButton.height - 8)
  Window.ExeCommand 6,s
End Sub

sub StatusPic_onMouseMove(nX,nY)
  s = CStr(StatusPic.Left) & "." & CStr(StatusPic.Top) & "." & CStr(StatusPic.width) & "." & CStr(StatusPic.height)
  Window.ExeCommand 20,s
end Sub

sub StatusPic_onMouseLeave()
  s = CStr(StatusPic.Left) & "." & CStr(StatusPic.Top) & "." & CStr(StatusPic.width) & "." & CStr(StatusPic.height)
  Window.ExeCommand 21,s
end Sub

Sub StatusPic_onClick()
  Window.ExeCommand 60,2
End Sub

Sub ContentsButton_onClick()
  Window.ExeCommand 4,9
End Sub

Sub MobileMsgButton_onClick()
  Window.ExeCommand 4,2
End Sub

Sub ChatRoomButton_onClick()
  Window.ExeCommand 4,1
End Sub

Sub SearchButton_onClick()
  Window.ExeCommand 4,3
End Sub

'下面的按钮组
Sub MenuButton_onClick()
  s = CStr(MenuButton.Left)&"."&CStr(MenuButton.Top)
  Window.ExeCommand 5,s
End Sub

sub PaymentButton_onClick()
  Window.ExeCommand 4,8
end Sub

Sub QQHomeButton_onClick()
  Window.ExeCommand 16,1 
End Sub

Sub MsgManagerButton_onClick()
  Window.ExeCommand 4,6
End Sub

'处理QQ程序发来的事件
Sub Window_OnNotify(code ,var)
  If code = 1 Then
    '设置当前的Uin
    UserNum = var
    If 0 = ShowStatus Then
      QQNumber.value = UserNum
    Else
       QQNumber.value = UserNum
    End If     
  ElseIf code = 2 Then
    '闪系统消息按钮 var 为1是开始闪。为2是停止
    If(var = 1) Then
      MsgManagerButton.StopFlash
      MsgManagerButton.Flash 30
    Else
      MsgManagerButton.StopFlash
    End If
  ElseIf code = 3 then
    '闪状态按钮 var 为0,1,2,3是对应的ico。为4表示停止
    if var = 0 then
      StatusPic.ico = "Online.ico"   
    elseif var = 1 Then
      StatusPic.ico = "leave.ico"   
    elseif var = 2 Then
      StatusPic.ico = "invisible.ico"   
    elseif var = 3 Then
      StatusPic.ico = "Offline.ico"   
    elseif var = 4 then
      StatusPic.Ico = StatusIco 
    end if
  ElseIf code = 4 Then
    '设置那个Bar在最前
    Window_onClick 2,Var
  ElseIf code = 5 Then
    '设置当前的状态。
    if var = 10 Then     
      StatusIco = "StatusPic.ico"
    elseif var = 20 Then     
      StatusIco = "StatusPic1.ico"
    elseif var = 30 Then   
      StatusIco = "StatusPic2.ico"
    elseif var = 40 Then     
      StatusIco = "StatusPic3.ico"     
    end If
    StatusPic.ico = StatusIco
    If 0 = ShowStatus Then
      QQNumber.value = UserNum
    Else
       QQNumber.value = UserNum
    End If
  ElseIf code = 6 Then
    '设置Skin的起始路径
    Path = Var
  ElseIf code = 10 then
    if(var = 1) then
      PaymentButton.SetLighting(true)
    else
      PaymentButton.SetLighting(false)
    end If
  ElseIf code = 25 Then
    ' 皮肤推送
    if(var = 1) then
      ColorButton.SetLighting(true)
    else
      ColorButton.SetLighting(false)
    end If
  ElseIf code = 200 then
    QQPushMsg.value = Var
    QQPushMsg.Visible = true
    bMsgInside = 1
    window.RebuildRGN
  End If 
End Sub


转自:ChinaBeta.Cn

(责任编辑:hahack)

Google
发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口
热门文章 相关报道
普通文章 [游戏资讯]《刀魂4》发布时间确定 将推收藏 (04-17)最新文章
普通文章 [游戏资讯]PC版《Mass Effect》硬件需求 (04-17)最新文章
普通文章 [软件资讯]AMD发布官方正式版催化剂8.4 (04-17)最新文章
普通文章 [IT资讯]微软遭遇Windows XP SP3疯狂重启 (04-17)最新文章
普通文章 [视点·互动]互联网视频监管“维新” (04-17)最新文章
普通文章 [IT资讯]eBay澳大利亚强迫用户使用贝宝 政 (04-17)最新文章
普通文章 [软件资讯]Apple发布Safari 3.1.1 for Wind (04-17)最新文章
普通文章 [软件资讯]ATI Catalyst 8.4 显卡驱动发布 (04-17)最新文章
普通文章 [软件资讯]Mozilla Firefox 2.0.0.14 简体中 (04-17)最新文章
普通文章 [软件资讯]ffdshow r1943 2008-04-16 (04-17)最新文章
  • QQ2007(PocketPC)正式版 Bu

  • QQ2008 Beta1泄密 用户手机

  • 2008年4月 绿钻等级正式发布

  • 《电脑报》:游戏江湖 腾讯族

  • 《南方日报》:“QQ广东第一

  • 省委书记表扬腾讯创新,腾讯

  • 海豚QQ2008贺岁版KB1[YSHT制

  • MSN QQ Hi大斗法 微软、腾讯

  • 《地下城与勇士》手机版率先

  • QQ2008 贺岁版会员体验活动

  •   网友评论内容:(只显示最新10条。评论内容只代表网友观点,与本站立场无关!)
    I D *
    邮 箱
    主 页
    评 分 1分 2分 3分 4分 5分
    评 论

    易尚防火墙 | 无线宽带路由器 | 3com无线路由器 | d-link无线路由器 | tp-link无线路由器 |东软防火墙

    关于我们  中国·国家信息产业部{粤ICP备06006652号}{陇ICP备06002562号}
    版权所有:『AK网盟基地』站长:Hahack | QQ:80505955 | E-mail:Hahack@Gmail.com
    Copyright (C) 2005-2007  akhack.org|chinabeta.cn All Rights Reserved