From d3fb137c4f08388a215212c8f67057c63f35857d Mon Sep 17 00:00:00 2001 From: Th3S <46804083+the-soloist@users.noreply.github.com> Date: Thu, 23 Nov 2023 20:22:16 +0800 Subject: [PATCH] Fix examples --- pwnlib/libcdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwnlib/libcdb.py b/pwnlib/libcdb.py index 511415b49..b5677debf 100644 --- a/pwnlib/libcdb.py +++ b/pwnlib/libcdb.py @@ -594,7 +594,7 @@ def search_by_symbol_offsets(symbols, select_index=None, unstrip=True, return_as >>> libc.sym.system == 0x52290 True >>> context.local_libcdb = "/path/to/libc-database" - >>> filename = search_by_symbol_offsets({'puts': 0x420, 'printf': 0xc90}, select_index=1, online=False) + >>> filename = search_by_symbol_offsets({'puts': 0x420, 'printf': 0xc90}, select_index=1, offline=True) >>> ELF(filename) ELF('/path/to/libc-database/db/libc6_2.31-0ubuntu9.12_amd64.so') >>> matched_libcs = search_by_symbol_offsets({'__libc_start_main_ret': '7f89ad926550'}, return_as_list=True)