From 78e74ea02fd52962290e2a1b816a90d9b9514a82 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Wed, 9 Dec 2015 13:23:26 +0000 Subject: Assignment 4 --- CamilStaps-s4498062-Assignment-4/ex1/exploit/exploit.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 CamilStaps-s4498062-Assignment-4/ex1/exploit/exploit.sh (limited to 'CamilStaps-s4498062-Assignment-4/ex1/exploit/exploit.sh') diff --git a/CamilStaps-s4498062-Assignment-4/ex1/exploit/exploit.sh b/CamilStaps-s4498062-Assignment-4/ex1/exploit/exploit.sh new file mode 100755 index 0000000..3c21d53 --- /dev/null +++ b/CamilStaps-s4498062-Assignment-4/ex1/exploit/exploit.sh @@ -0,0 +1,16 @@ +#!/bin/sh +cat exploit - + +# cat - exploit - is the "best" way of doing this: +# +# It lets you explore the target using format strings, so that you can +# craft your exploit into "exploit", execute it by sending EOF (ctrl+D), +# and then once again you have direct input options. +# +# Can also solve this with a looping construct, for when you need more +# than one try, e.g. +#while [ 1 ] +#do +# cat - +# cat exploit +#done -- cgit v1.2.3