index
:
bufflow.git
A collection of code examples e.g. a buffer overflow + exploit, crypter, shellcodes and more.
log msg
author
committer
range
master
about
summary
refs
log
tree
commit
diff
path:
root
/
overflow_minimal.c
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
author
toni <matzeton@googlemail.com>
2014-01-15 17:26:00 +0100
committer
toni <matzeton@googlemail.com>
2014-01-15 17:26:00 +0100
commit
a0c08ee7c9de75e7674eee76df532c5da7adc03a
(
patch
)
tree
176dddb38d42f4a2fa3af57fe359eccfc7cc985b
/
overflow_minimal.c
parent
426b0d1883a4c83ba862ec7b3ffed7154a63d494
(
diff
)
simple strcpy() exploit works
Diffstat
(limited to 'overflow_minimal.c')
-rw-r--r--
overflow_minimal.c
11
1 files changed, 0 insertions, 11 deletions
diff --git a/overflow_minimal.c b/overflow_minimal.c
deleted file mode 100644
index 760e33f..0000000
--- a/
overflow_minimal.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-int main(int argc, char **argv)
-{
- char buf[30];
- /* exploitable function */
- strcpy(buf, argv[1]);
- return 0;
-}