diff options
author | Niklas Baumstark <niklas.baumstark@gmail.com> | 2015-03-16 22:34:17 +0100 |
---|---|---|
committer | Niklas Baumstark <niklas.baumstark@gmail.com> | 2015-03-16 22:34:17 +0100 |
commit | a742590786e0f7b8c0597008fe3f71265f1f1013 (patch) | |
tree | f86d60b0ffc0cb770ce560e404d36bd11cc5ed25 | |
parent | 9616996dcd623a094bbe975f7e11118d33523afb (diff) | |
download | libc-database-a742590786e0f7b8c0597008fe3f71265f1f1013.tar.gz libc-database-a742590786e0f7b8c0597008fe3f71265f1f1013.zip |
update README
-rw-r--r-- | README.md | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -1,12 +1,14 @@ ## Building a libc offset database -Fetch all the configured libc versions and extract the symbol offset +Fetch all the configured libc versions and extract the symbol offsets. +It will not download anything twice, so you can also use it to update your +database: $ ./get -Find all the libc's in the database that have a given name at the given address -(only the last 12 bits are checked, because randomization usually works on page -size level) +Find all the libc's in the database that have a given name at the given address. +Only the last 12 bits are checked, because randomization usually works on page +size level. $ ./find printf 260 archive-eglibc (id 2.15-0ubuntu10_amd64) @@ -22,7 +24,8 @@ Find a libc from the leaked return address into __libc_start_main. archive-glibc (id 2.19-10ubuntu2_i386) archive-glibc (id 2.19-15ubuntu2_i386) -Dump some useful offsets, given a libc ID: +Dump some useful offsets, given a libc ID. You can also provide your own names +to dump. $ ./dump 2.19-0ubuntu6.6_i386 offset___libc_start_main_ret = 0x19a83 |