Is there a hello world heap overflow example? Anyone has a demo?
#include <stdlib.h>
#include <string.h>
int main()
{
const size_t t=1<<24;
while(1)
memset(malloc(t), 0xDE, t);
}
Kills it pretty sweetly in no time at all!
Is there a hello world heap overflow example? Anyone has a demo?
#include <stdlib.h>
#include <string.h>
int main()
{
const size_t t=1<<24;
while(1)
memset(malloc(t), 0xDE, t);
}
Kills it pretty sweetly in no time at all!
上一篇:求一个游戏名字搞笑的?
伊斯兰堡和中国有时差吗?:下一篇
精彩评论