mirror of
https://github.com/wiiu-env/ROBChain.git
synced 2024-12-12 11:44:22 +01:00
dcf3bf5204
Untested, copy pasted from the mario kart 8 exploit (rop gadgets address are meant to be used on EUR v1.1.7)
21 lines
384 B
Makefile
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
|
|
|