Skip to content

Commit

Permalink
Check libc- as well (#1131)
Browse files Browse the repository at this point in the history
  • Loading branch information
SweetVishnya authored and zachriggle committed Apr 2, 2018
1 parent 1cb0502 commit 6747356
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pwnlib/tubes/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ def libc(self):
from pwnlib.elf import ELF

for lib, address in self.libs().items():
if 'libc.so' in lib:
if 'libc.so' in lib or 'libc-' in lib:
e = ELF(lib)
e.address = address
return e
Expand Down

0 comments on commit 6747356

Please sign in to comment.