32 lines
770 B
Makefile
32 lines
770 B
Makefile
CC=gcc
|
|
CFLAGS= -z execstack -fno-stack-protector -g
|
|
|
|
all: is_valid_html product_register overflow1 sp vulnerable exploit2 exploit3 exploit4
|
|
|
|
is_valid_html: is_valid_html.c
|
|
$(CC) -o is_valid_html is_valid_html.c $(CFLAGS)
|
|
|
|
product_register: product_register.c
|
|
$(CC) -o product_register product_register.c $(CFLAGS)
|
|
|
|
overflow1: overflow1.c
|
|
$(CC) -o overflow1 overflow1.c $(CFLAGS)
|
|
|
|
sp: sp.c
|
|
$(CC) -o sp sp.c $(CFLAGS)
|
|
|
|
vulnerable: vulnerable.c
|
|
$(CC) -o vulnerable vulnerable.c $(CFLAGS)
|
|
|
|
exploit2: exploit2.c
|
|
$(CC) -o exploit2 exploit2.c $(CFLAGS)
|
|
|
|
exploit3: exploit3.c
|
|
$(CC) -o exploit3 exploit3.c $(CFLAGS)
|
|
|
|
exploit4: exploit4.c
|
|
$(CC) -o exploit4 exploit4.c $(CFLAGS)
|
|
|
|
clean:
|
|
rm is_valid_html product_register overflow1 sp vulnerable exploit2 exploit3 exploit4
|