8000
Skip to content

fix: follow symlink for libs on ssh connection#2338

Merged
peace-maker merged 1 commit intoGallopsled:devfrom
teddav:fix/ssh-remote-libs-follow-symlink
Jan 22, 2024
Merged

fix: follow symlink for libs on ssh connection#2338
peace-maker merged 1 commit intoGallopsled:devfrom
teddav:fix/ssh-remote-libs-follow-symlink

Conversation

@teddav
Copy link
Copy Markdown
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
@peace-maker
Copy link
Copy Markdown
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.

2 participants

0