diff options
author | Camil Staps | 2015-12-09 13:23:26 +0000 |
---|---|---|
committer | Camil Staps | 2015-12-09 13:23:26 +0000 |
commit | 78e74ea02fd52962290e2a1b816a90d9b9514a82 (patch) | |
tree | fa213fd71f72c6de405556e62551942f0e3f7a68 /CamilStaps-s4498062-Assignment-4/ex1/exploit/genretaddr.sh | |
parent | Assignment 2, 3 (diff) |
Assignment 4
Diffstat (limited to 'CamilStaps-s4498062-Assignment-4/ex1/exploit/genretaddr.sh')
-rwxr-xr-x | CamilStaps-s4498062-Assignment-4/ex1/exploit/genretaddr.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/CamilStaps-s4498062-Assignment-4/ex1/exploit/genretaddr.sh b/CamilStaps-s4498062-Assignment-4/ex1/exploit/genretaddr.sh new file mode 100755 index 0000000..1a741f2 --- /dev/null +++ b/CamilStaps-s4498062-Assignment-4/ex1/exploit/genretaddr.sh @@ -0,0 +1,9 @@ +#!/bin/bash +echo -e "\x70\xe4\xff\xff\xff\x7f\x00\x00" > retaddr + +# 0x00007fffffffe470 + +# We've noticed that even with ASLR turned off, the correct return +# address can drift a few hundred bytes. We haven't determined a +# cause for this. Take this into consideration when creating, guiding +# and grading the assignment. |