Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finding libc offset #1

Closed
acr92 opened this issue Apr 15, 2017 · 3 comments
Closed

Finding libc offset #1

acr92 opened this issue Apr 15, 2017 · 3 comments

Comments

@acr92
Copy link

acr92 commented Apr 15, 2017

Hey,

I was wondering if you could expand on how you found the libc base in:

Thanks.

@Caesurus
Copy link
Owner

Sure. The gist of it is that while you're in the debugger you can find the base of Libc. I use Peda or Pwndbg so a simple 'vmmap' command will suffice.

Once you can see the base address of libc, you take the leaked value and subtract the base value to get your offset. That offset will always be the same for that specific libc library.

If I have some time today, i will update the readme.md file to expand on how to find this.

@Caesurus
Copy link
Owner

@Blystad, I have updated the L3_consoleConfig writeup to outline how I found the libc base address.

Please let me know if that's clear enough or whether I should add more detail. I'll be happy to answer any questions you have.

@acr92
Copy link
Author

acr92 commented Apr 15, 2017

Thanks, yeah that helped and I was able to solve the challenge :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants