mirror of
https://github.com/wiiu-env/ROBChain.git
synced 2024-11-16 23:59:25 +01:00
e3ef554d6d
- Add WIP kernel exploit ROP
26 lines
798 B
Makefile
26 lines
798 B
Makefile
wiiuhaxx_common_path := ../wiiuhaxx_common/wiiu_browserhax_common.php
|
|
wiiuhaxx_common_cfg := wiiuhaxx_common_cfg.php
|
|
pymsc_asm_py := ../pymsc/asm.py
|
|
|
|
all: clean exploit.mscsb
|
|
|
|
clean:
|
|
rm -f exploit.mscsb payload.s main.s
|
|
|
|
exploit.mscsb: $(pymsc_asm_py) payload.s Scripts main.s
|
|
python ../pymsc/asm.py
|
|
|
|
payload.s: payload.bin
|
|
python generate_payload.py
|
|
|
|
main.s: rop_setup.s $(wiiuhaxx_common_cfg) $(wiiuhaxx_common_path)
|
|
php generatepayload.php > main.s
|
|
|
|
$(pymsc_asm_py):
|
|
if [ -a $(pymsc_asm_py) ]; then $(error missing $(pymsc_asm_py) (git clone recursive)); fi;
|
|
|
|
$(wiiuhaxx_common_path):
|
|
if [ -a $(wiiuhaxx_common_path) ]; then $(error missing $(wiiuhaxx_common_path)); fi;
|
|
|
|
$(wiiuhaxx_common_cfg):
|
|
if [ -a $(wiiuhaxx_common_cfg) ]; then $(error missing $(wiiuhaxx_common_cfg)); fi;
|