LibcSearcher-ng
pip3 install LibcSearcherLast updated
pip3 install LibcSearcherLast updated
from LibcSearcher import *
# Query a function name together with its address
obj = LibcSearcher("fgets", 0x7ff39014bd90)
# Add another constraint
obj.add_condition("atoi", 218528)
# Get the address of the target function in libc
obj.dump("printf")# Return # of possible libc's
len(obj)
# Print info
print(obj)
# Print all possible libc's
for libc in obj :
print(libc)
# Print all possible libc's and let the user choose
obj.select_libc()
# Assign the 2nd libc as the correct libc
obj.select_libc(2)