Add easy PoC text modifications

This commit is contained in:
jam1garner 2019-01-18 17:23:30 -05:00
parent 67f5398d00
commit eb74388870
2 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,7 @@
all: exploit.mscsb all: exploit.mscsb
clean: clean:
rm -f exploit.mscsb payload.s main.s rm -f exploit.mscsb payload.s payload.bin main.s
exploit.mscsb: payload.s Scripts main.s exploit.mscsb: payload.s Scripts main.s
python3 ../pymsc/asm.py python3 ../pymsc/asm.py
@ -9,6 +9,10 @@ exploit.mscsb: payload.s Scripts main.s
payload.s: payload.bin payload.s: payload.bin
python3 generate_payload.py python3 generate_payload.py
payload.bin: crashText.txt
cp -f crashText.txt payload.bin
printf "\0" >> payload.bin
main.s: rop_setup.s main.s: rop_setup.s
python3 generate_rop.py python3 generate_rop.py