Put instruction to retrieve anodin &buf addr

This commit is contained in:
Yorick Barbanneau 2023-03-30 02:11:58 +02:00
parent 7079ea3bdb
commit c3bc46cdac

View file

@ -40,7 +40,7 @@ gdb_anodin: build/anodin configure
PHONY: gdb_exploit PHONY: gdb_exploit
gdb_exploit: build/exploit build/anodin configure gdb_exploit: build/exploit build/anodin configure
ifeq ($(A_ADDR),) ifeq ($(A_ADDR),)
$(error A_ADDR must be defined, launch setarch -R gdb ./build/anodin to retriece it) $(error A_ADDR must be defined, launch make gdb_anodin then run)
endif endif
echo '$(A_ADDR)' | ./$(BUILD_DIR)/exploit > hack.txt echo '$(A_ADDR)' | ./$(BUILD_DIR)/exploit > hack.txt
PYTHONPATH=${PWD}/pframe${PYTHONPATH:+:${PYTHONPATH}} \ PYTHONPATH=${PWD}/pframe${PYTHONPATH:+:${PYTHONPATH}} \