GithubHelp home page GithubHelp logo

Comments (6)

Milo-D avatar Milo-D commented on August 28, 2024

Hi Francesco,

could you send me the steps to reproduce this problem ? Thanks.

from house-of-gods.

FrancescoLucarini avatar FrancescoLucarini commented on August 28, 2024

gcc -o sandbox sabdbox.c

./sandbox

Segmentation Fault
IMG20221105084038.jpg

from house-of-gods.

FrancescoLucarini avatar FrancescoLucarini commented on August 28, 2024

If I run
./patch.sh
./sandbox

./sandbox: /home/heap-nman/test/house_of_gods/Libc.so.6: version 'GLIBC_2.34' not found (required by ./sandbox)

from house-of-gods.

Milo-D avatar Milo-D commented on August 28, 2024

You need to compile the sandbox in an older environment. I was using a 17.10 Ubuntu VM in order to compile it. That's the reason why this repository comes with a prebuilt binary :)

Edit: patch the binary's runpath and interpreter with patch.sh after every recompilation of sandbox in order to use custom libc and ld.

from house-of-gods.

FrancescoLucarini avatar FrancescoLucarini commented on August 28, 2024

Oh ok thanks did you used any special flag on gcc or is actually like the mine the command?

from house-of-gods.

Milo-D avatar Milo-D commented on August 28, 2024

Nope, I did not use any special flags for compilation.

Feel free to close the issue if you have no further questions.

from house-of-gods.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.