-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
"Complete Setup" doesn't work -> version `GLIBC_2.34' not found #178
Comments
it is fixed in the latest commit 8e4af70 |
you should be able to just |
Hi @Kyle-Kyle ! Thank you for the quick fix! However after testing it on Ubuntu 22.04 I noticed a few issues:
I would like to work on this by creating a new |
I'm a bit confused about how you are using it. Are you using it inside the docker container? |
Hi, thank you for asking. I'm sorry for the confusion I caused. All the following commands were run on my Host machine:
My problem is:
1. Running README.md script:I first ran the script as described in the README.md
This fails at
This fails because of this line in
2. Attempt to run by adding
|
While the current setup works, it requires a few additional steps that are not immediatly described in the While I understand that the target audience are tech-savvy hackers, I nonetheless believe a simple setup, as the previous setup with Docker before 8e4af70 As a proposal, I created a pull request #179 , but I'm open to discussion. |
Hi please don't take this the wrong way. I love this repository and it has helped me a lot in understanding heap exploitation. I want to contribute by creating a docker setup that works out of the box with additional tools like |
Definitely not. I was just not sure why the patch didn't solve the issue. |
I double-checked. You are right. It doesn't work in a fresh installation. I just created a quick patch. Can you please check whether it works for you? https://github.com/shellphish/how2heap/tree/fix/complete_setup The reason why I am against including pwndbg in the Dockerfile in this project is that it should be in a tool-neural way so that people can choose to use their favorite heap debugging tool to learn these. instead of bound to pwndbg. |
Your patch (https://github.com/shellphish/how2heap/tree/fix/complete_setup) works on my machine. Thank you! I understand your reasoning for excluding pwndbg. I'll close the pull request. As far as I'm concerned this issue will be solved with your new patche and can be closed when the patch is applied. |
When following the
Complete-Setup
guide to setup a docker environment, it produces the following error:When attempting to run
./glibc_run.sh 2.30 ./malloc_playground -u -r
or just./malloc_playground
it returns: version `GLIBC_2.34' not found, same as Issue #169The issue here is that we are using the
Dockerfile
from https://github.com/pwndbg/pwndbg which in turn usesubuntu:22.04
.Workaround
After the command
git clone https://github.com/pwndbg/pwndbg
editpwndbg/Dockerfile
and replacejammy
(ubuntu 22.04) withfocal
(ubuntu 20.04)The text was updated successfully, but these errors were encountered: