aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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