Comments (4)
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.
谢谢反馈,请问可否看一下引起错误的代码
from autopwn.
发现是patchelf自身问题。。。--replace-needed参数会出问题,改--set-rpath就可以
from autopwn.
我几天前好像也遇到过一个关于patchelf的问题。应该是我的代码的锅,最新版的代码应该已经解决了该问题。(不知道我们说的是不是同一个问题
from autopwn.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autopwn.