Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add search for libc binary by leaked function addresses (#2103)
* libcdb: Add option to search by function offsets When you're able to leak addresses of the libc library, use `libcdb.search_by_symbol_offsets()` to find and download the matching libc library from https://libc.rip. If there are multiple matches, the user is prompted to select one interactively. The selection can be saved in the code for future executions of the script. Fixes #1867 * libcdb: Handle multiple results when looking up by hash Sometimes the same library appears to be indexed multiple times (see 0b52d2e713d243f0f65d808fcd3fbe372bb3cd32). Handle that situation by selecting the first in the list, since they should all be identical given the same hash value. * Update CHANGELOG * Fix off-by-one when pre-selecting a libc * Do .json() only once --------- Co-authored-by: Arusekk <arek_koz@o2.pl>
- Loading branch information
1 parent
1461b48
commit aa48227
Showing
2 changed files
with
101 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters