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

Add resolution_addr parameter to Ret2dlresolvePayload #2436

Merged
merged 4 commits into from
Aug 9, 2024

Conversation

k4lizen
Copy link
Contributor

@k4lizen k4lizen commented Aug 6, 2024

This PR implements point number two from #2429 (thus it shouldn't close the issue).

  • Adds an optional parameter called resolution_addr to Ret2dlresolvePayload making the loaders _dl_runtime_resolve function write the resolved function address to that location instead of the beginning of the payload (as is the default).

@k4lizen
Copy link
Contributor Author

k4lizen commented Aug 6, 2024

Can you add documentation for the parameter please? Best case would be to add an example on how and when to use it too.

I didn't write an example exploit using the ret2dlresolve binary but anyone who is writing the exploit manually will probably manage. Also added documentation for data_addr.

@peace-maker peace-maker merged commit 405357c into Gallopsled:dev Aug 9, 2024
12 checks passed
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

Successfully merging this pull request may close these issues.

2 participants