陈杰鑫全栈渗透测试专家班
指定大小
b - byteh - halfword (16-bit value)w - word (32-bit value)g - giant word (64-bit value)
基本栈溢出
// c语言源码#include <stdio.h>#include <unistd.h>int vuln() {
char buf[80];
int r;
r = read(0, buf, 400);
printf("\nRead %d bytes. buf is %s\n", r, buf);
puts("No shell for you :(");
return 0;}

