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

Usage: commandline chroot in pwntools #1395

Open
haowayne opened this issue Dec 17, 2019 · 1 comment
Open

Usage: commandline chroot in pwntools #1395

haowayne opened this issue Dec 17, 2019 · 1 comment

Comments

@haowayne
Copy link

Hi. I can properly run the commandline
chroot FIRMWARE_PATH ./qemu-mipsel-static ./FIRMWARE when I try to execute the dynamically linked router firmware.The reason why using chroot is that the relevant shared libraries is in the path "FIRMWARE_PATH/lib" .
Can I achieve this using pwntools? What is the relevant parameters? And how should I pass them to pwntools?

@Arusekk
Copy link
Member

Arusekk commented Dec 17, 2019

I beliebe this can be done using a sysroot parameter to process or debug; not entirely sure if it works, but there should be something like 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

No branches or pull requests

2 participants