all: sploit.html

sploit.html: shell exploit
	./exploit sploit.html 400 

exploit: exploit.c
	gcc -o exploit exploit.c

shell: shell.asm strings.inc
	nasm -f bin shell.asm

strings.inc: codestrings
	./codestrings

codestrings: codestrings.c
	gcc -o codestrings codestrings.c

clean:
	rm -f codestrings strings.inc shell sploit.html exploit


