![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
PWN类型之栈溢出入门
qq_33528164
爱好共享,提倡互相帮助。
展开
-
pico-ctf-2013 overflow-1
栈溢出入门系列入门教程一 overflow1.c#include <stdio.h>#include <stdlib.h>#include <string.h>#include <unistd.h>#include <sys/types.h>#include "dump_stack.h"void vuln(int tmp, char *str) { int win = t原创 2017-05-06 20:30:40 · 788 阅读 · 0 评论 -
pico-ctf-2013 overflow-3
栈溢出入门教程三overflow3.c#include <stdio.h>#include <string.h>#include <unistd.h>#include <sys/types.h>#include "dump_stack.h"/* * Goal: Get the program to run this function. */void shell(void) {原创 2017-05-06 23:10:29 · 567 阅读 · 0 评论 -
pico-ctf-2013 overflow-2
栈溢出入门系列入门教程二overflow2.c#include <stdio.h>#include <stdlib.h>#include <string.h>#include <unistd.h>#include <sys/types.h>#include "dump_stack.h"void vuln(int win, char *str) { char buf[64];原创 2017-05-06 21:51:26 · 1156 阅读 · 0 评论 -
pico-ctf 2013 overflow-4
栈溢出入门系列入门教程四本片是栈溢出系列的第四篇 overflow4.c#include #include #include #include #include "dump_stack.h"/* * Goal: Get the program to run a shell. */void vuln(char *str) { char buf[64];原创 2017-05-07 11:52:08 · 658 阅读 · 0 评论 -
pico-ctf 2013 overflow-5
栈溢出入门系列入门教程四本片是栈溢出入门系列教程第五篇文章. overflow5.c#include<stdio.h>void vuln(char *str){ char v2; strcpy(&v2, str);}int main(int argc, const char **argv, const char **envp){ int result; // eax@2原创 2017-05-07 12:50:49 · 853 阅读 · 0 评论