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

Allow to set debugger path to use #2520

Open
peace-maker opened this issue Jan 16, 2025 · 0 comments
Open

Allow to set debugger path to use #2520

peace-maker opened this issue Jan 16, 2025 · 0 comments
Labels

Comments

@peace-maker
Copy link
Member

gdb or gdb-multiarch is hardcoded in the gdb module. Right now you'd have to create a pwntools-gdb symlink in the path which takes precedence. Allow to override the default in the exploit script by adding some property to the context.

This can be useful when having multiple gdb versions installed or standalone installs of e.g. pwndbg coming with a pwndbg executable instead of gdb.

Specifying the path to the debugger might even be necessary on Windows, where the debugger binary is often not in the PATH.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant