Giter Club home page Giter Club logo

Comments (4)

sung3r avatar sung3r commented on July 19, 2024

patch ./ctf/attack.py

        needed = []
        for replace in self.needed:
            replace = replace.split('/')
            replace.insert(-1,':')
            replace = '/'.join(replace)
            needed.append(replace)
        print needed
        for replace in needed:
            command = "patchelf --set-rpath {} {}".format(replace, elf)
            log.info("Executing: " + command)
            exit_value += os.system(command)

from autopwn.

M4tsuri avatar M4tsuri commented on July 19, 2024

谢谢反馈,请问可否看一下引起错误的代码

from autopwn.

sung3r avatar sung3r commented on July 19, 2024

发现是patchelf自身问题。。。--replace-needed参数会出问题,改--set-rpath就可以
WeChat66fc3e6489ebbc87b3a688581fe95680

from autopwn.

M4tsuri avatar M4tsuri commented on July 19, 2024

我几天前好像也遇到过一个关于patchelf的问题。应该是我的代码的锅,最新版的代码应该已经解决了该问题。(不知道我们说的是不是同一个问题

from autopwn.

Related Issues (2)

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.