Skip to content

Commit b83a6c7

Browse files
committed
Fix process.leak by providing a sane default leak size
1 parent 5d9792f commit b83a6c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pwnlib/tubes/process.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,7 @@ def corefile(self):
769769
import pwnlib.elf.corefile
770770
return pwnlib.elf.corefile.Core(filename)
771771

772-
def leak(self, address, count=0):
772+
def leak(self, address, count=1):
773773
"""Leaks memory within the process at the specified address.
774774
775775
Arguments:

0 commit comments

Comments
 (0)