First part of TD9
This commit is contained in:
parent
553cdc440c
commit
4907f833e2
5 changed files with 537 additions and 0 deletions
18
content/secu_logicielle/td9-hackme/files/Makefile
Normal file
18
content/secu_logicielle/td9-hackme/files/Makefile
Normal file
|
@ -0,0 +1,18 @@
|
|||
pframe:
|
||||
curl -o pframe.tgz https://dept-info.labri.fr/~thibault/SecuLog/pframe.tgz && \
|
||||
tar -xf pframe.tgz &&\
|
||||
rm -rf pframe.tgz
|
||||
|
||||
.gdbinit:
|
||||
|
||||
configure: pframe .gdbinit
|
||||
$(shell echo "python import pframe" > .gdbinit)
|
||||
|
||||
PHONY: %
|
||||
gdb: configure
|
||||
PYTHONPATH=${PWD}/pframe${PYTHONPATH:+:${PYTHONPATH}} \
|
||||
gdb hackme
|
||||
|
||||
PHONY: clean
|
||||
clean:
|
||||
@rm -rf $(BUILD_DIR) pframe .gdbinit
|
Loading…
Add table
Add a link
Reference in a new issue