Category
pwn
Tool
pwntools
Snippet Name
pwntools heap exploit function alias
Snippet Content
s = lambda data :p.send(data)
sl = lambda data :p.sendline(data)
sa = lambda x,data :p.sendafter(x, data)
sla = lambda x,data :p.sendlineafter(x, data)
def malloc(size,content):
sla('Your choice :',b'1')
sla('Size of Heap : ',str(size))
sa('Content',content)
def edit(index,content):
sla('Your choice :',b'2')
sla('Index :',str(index))
sla('Size of Heap : ',str(len(content)))
sla('Content of heap : ',content)
def free(index):
sla('Your choice :',b'3')
sla('Index :',str(index))
def show(index):
sla('Your choice :',b'4')
sla('Index :',str(index))
Short Description
pwntools heap exploitation malloc/free operation reusable snippet
Trigger Prefix
def malloc(size
Language
python
more detail.
No response
Category
pwn
Tool
pwntools
Snippet Name
pwntools heap exploit function alias
Snippet Content
Short Description
pwntools heap exploitation malloc/free operation reusable snippet
Trigger Prefix
def malloc(size
Language
python
more detail.
No response