aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoni <matzeton@googlemail.com>2014-01-15 19:49:37 +0100
committertoni <matzeton@googlemail.com>2014-01-15 19:49:37 +0100
commit4ad8e2c267b4f44223c82cbb1036a0996a1439b7 (patch)
tree652d1aed015de6e74ebade85bfb86c4b5a18b827
parenta0c08ee7c9de75e7674eee76df532c5da7adc03a (diff)
added 32 bit ELF binary
-rw-r--r--.gitignore4
-rw-r--r--Makefile2
-rwxr-xr-xoverflowbin0 -> 3344 bytes
3 files changed, 2 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index ee4eb55..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,4 +0,0 @@
-/exploit
-/overflow
-/overflow_minimal
-/overflow_function
diff --git a/Makefile b/Makefile
index 70b068d..ebe82b5 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
RM := rm
CC := gcc
+STRIP := strip
CFLAGS = -Wall -g3
OCFLAGS = -m32 -mpreferred-stack-boundary=2 -z execstack -fno-stack-protector
TARGETS = $(patsubst %.c,%.o,$(wildcard *.c))
@@ -13,6 +14,7 @@ msg:
%.o : %.c
$(CC) $(CFLAGS) $(OCFLAGS) -o $(patsubst %.o,%,$@) $<
+ $(STRIP) $(patsubst %.o,%,$@)
clean:
$(RM) -f $(patsubst %.o,%,$(TARGETS))
diff --git a/overflow b/overflow
new file mode 100755
index 0000000..1879d46
--- /dev/null
+++ b/overflow
Binary files differ