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

ldd replaced with objdump -p for dependency listing #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

adhokshajmishra
Copy link

The ldd attempts to display a list of dynamic linkages by executing the target binary with an "magic environment" setting. For a normal binary that's been compiled and linked with glibc and the normal GNU linker this will be adequate.

However, crafted sources linked against an alternative library and linker can execute arbitrary code in lieu (or in addition to) this. Ref: http://www.catonmat.net/blog/ldd-arbitrary-code-execution/

Using objdump eliminates this.

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.

1 participant