Files
metasploit-gs/external/source/byakugan/test/testHeapOverflow.cpp
T
HD Moore 8dc54f35d3 Merging from the byakugan branch
git-svn-id: file:///home/svn/framework3/trunk@5633 4d416f70-5f16-0410-b530-b9f4589650da
2008-08-20 19:27:03 +00:00

15 lines
263 B
C++
Executable File

#include <windows.h>
#include <stdlib.h>
#include "../msfpattern.h"
int main() {
char *ownme, *next;
Sleep(10000);
ownme = (char *) malloc(256);
next = (char *) malloc(256);
msf_pattern_create(264, ownme);
free(next); free(ownme);
return (0);
}