EXPLOITS=exploit1 exploit2 exploit3

build: $(EXPLOITS)

%: %.c
	gcc -o $@ $<

root:
	chown root.root $(EXPLOITS)
	chmod 4755 $(EXPLOITS)
	chown www-data exploit3

test: $(EXPLOITS)
	ls -l $(EXPLOITS)
	./test.sh

clean:
	rm -f $(EXPLOITS)
