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

fix: follow symlink for libs on ssh connection #2338

Merged

Conversation

teddav
Copy link
Contributor

@teddav teddav commented Jan 22, 2024

Pwntools Pull Request

When running a process over SSH, if the lib used is a symlink, then the addresses returned are wrong. This is because we get the address from /proc/PID/maps but we use the symlink lib name, and not the "real" lib name.
I corrected it by using readlink -f which return the actual lib used.

Changelog

Since it's a really small change, should I still push a change to the Changelog?

@peace-maker peace-maker merged commit cb3fda4 into Gallopsled:dev Jan 22, 2024
9 of 11 checks passed
@peace-maker
Copy link
Member

Thank you!

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.

None yet

2 participants