ROBChain/poc/Makefile

21 lines
354 B
Makefile
Raw Normal View History

2019-02-13 11:54:06 -05:00
python=python3
2019-01-18 16:51:28 -05:00
all: exploit.mscsb
clean:
2019-01-18 17:23:30 -05:00
rm -f exploit.mscsb payload.s payload.bin main.s
2019-01-18 16:51:28 -05:00
exploit.mscsb: payload.s Scripts main.s
2019-02-13 11:54:06 -05:00
$(python) ../pymsc/asm.py
2019-01-18 16:51:28 -05:00
payload.s: payload.bin
2019-02-13 11:54:06 -05:00
$(python) generate_payload.py
2019-01-18 16:51:28 -05:00
2019-01-18 17:23:30 -05:00
payload.bin: crashText.txt
cp -f crashText.txt payload.bin
printf "\0" >> payload.bin
2019-01-18 16:51:28 -05:00
main.s: rop_setup.s
2019-02-13 11:54:06 -05:00
$(python) generate_rop.py
2019-01-18 16:51:28 -05:00