ROBChain/homebrew/Makefile
Maschell dcf3bf5204 Implement a rop chain which loads another ropchain via the network.
Untested, copy pasted from the mario kart 8 exploit (rop gadgets address are meant to be used on EUR v1.1.7)
2020-03-06 19:51:36 +01:00

21 lines
384 B
Makefile

PYTHON := python3
ifeq (, $(shell which python3))
# if no python3 alias, fall back to `python` and hope it's py3
PYTHON := python
endif
all: exploit.mscsb
clean:
rm -f exploit.mscsb payload.s payload.bin main.s
exploit.mscsb: payload.s Scripts main.s
$(PYTHON) ../pymsc/asm.py
payload.s:
$(PYTHON) generate_payload.py
main.s: rop_setup.s
$(PYTHON) generate_rop.py