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

Match against local system libc first in libcdb #2325

Merged
merged 5 commits into from Jan 30, 2024

Conversation

peace-maker
Copy link
Member

Don't do any requests if the libc currently in use on the system running the exploit matches already. This is a small short circuit optimization when the remote target uses the same libc as the local one.

This looks at the libc loaded by the local shell binary. This appears more dynamic than hardcoding library paths but only considers one architecture. It'd be possible to look at other local architectures like i386 on an amd64 host in the future.

Refs #983

Don't do any requests if the libc currently in use on the system
running the exploit matches already. This is a small short circuit
optimization when the remote target uses the same libc as the
local one.

This looks at the libc loaded by the local shell binary. This appears
more dynamic than hardcoding library paths.

Refs Gallopsled#983
@peace-maker peace-maker merged commit 27bc31e into Gallopsled:dev Jan 30, 2024
10 of 12 checks passed
@peace-maker peace-maker deleted the libcdb_local_libc branch January 30, 2024 11:20
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

1 participant