Skip to content

A simple shell script to get main_arena offset of a given libc

License

Notifications You must be signed in to change notification settings

bash-c/main_arena_offset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 

Repository files navigation

main_arena_offset

A simple shell script to get main_arena offset of a given libc

install

download main_arena then enjoy it!

Optional: add this shell script to path if you want

usage

$ main_arena your_libc

example

main_arena_offset [master●●] main_arena /lib/x86_64-linux-gnu/libc.so.6
[+]libc version : glibc 2.27
[+]build ID : BuildID[sha1]=8fd0a29758bf6615673836bb20ffdf11dcb531e6
[+]main_arena_offset : 0x3b4c40
main_arena_offset [master●●] main_arena /lib/i386-linux-gnu/libc.so.6
[+]libc version : glibc 2.27
[+]build ID : BuildID[sha1]=2e6f3ca2f94f25f84946f8277d7588a00a90791b
[+]main_arena_offset : 0x1d57a0

Screenshots

screenshot

more

  • Though it works perfect on libc-databases now(2018-11-15). But I'm not sure whether it works well on other libcs, so issues are welcome.

Make it better

Any suggestion or feature request is welcome! Feel free to send a pull request. Please let me know if you find any libc that makes main_arena_offset fail to find the right offset. And, if you like this work, I'll be happy to be starred 😬

Thanks

About

A simple shell script to get main_arena offset of a given libc

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages