finish TD5
This commit is contained in:
parent
99e7388994
commit
bcd853f871
2 changed files with 78 additions and 69 deletions
|
@ -25,7 +25,7 @@ build: $(addprefix $(BUILD_DIR)/, $(TGT)))
|
|||
|
||||
PHONY: gdb
|
||||
gdb: build/exploit build/anodin configure
|
||||
./$(BUILD_DIR)/exploit > hack.txt &
|
||||
echo '0x7fffffffe490' | ./$(BUILD_DIR)/exploit > hack.txt
|
||||
PYTHONPATH=${PWD}/pframe${PYTHONPATH:+:${PYTHONPATH}} \
|
||||
setarch -R gdb ./$(BUILD_DIR)/anodin --command=anodin.gdb
|
||||
rm hack.txt
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue