Comments (14)
这种手法的关键点是环境变量 LD_PRELOAD,只有 linux 才有这个变量,不支持 windows。
from bypass_disablefunc_via_ld_preload.
我也用centos搭建了,还是不行.
from bypass_disablefunc_via_ld_preload.
from bypass_disablefunc_via_ld_preload.
我也用centos搭建了,还是不行.
x86 or x64?
from bypass_disablefunc_via_ld_preload.
Linux localhost.localdomain 3.10.0-123.el7.x86_64 #1 SMP Mon Jun 30 12:09:22 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
64的
from bypass_disablefunc_via_ld_preload.
我直接全部默认配置 还是不行.
from bypass_disablefunc_via_ld_preload.
你贴下 phpinfo() 输出中的 disable_functions 和 safe_mode 的内容,文字版,我测试下。
from bypass_disablefunc_via_ld_preload.
disable_functions | no value | no value
sql.safe_mode | Off | Off
我是直接yum install php 然后测试的
from bypass_disablefunc_via_ld_preload.
大佬可以加个微信交流吗,我也在成都.
from bypass_disablefunc_via_ld_preload.
QQ: 3297083841,要得,加起聊。
from bypass_disablefunc_via_ld_preload.
加你了大神~
from bypass_disablefunc_via_ld_preload.
原因是 SELinux。
你用 apache 身份运行 id,输出 uid=48(apache) gid=48(apache) groups=48(apache) context=system_u:system_r:httpd_t:s0
,看到最后的 context=system_u:system_r:httpd_t:s0
没,就是 SELinux 在作祟。
from bypass_disablefunc_via_ld_preload.
该用户不存在,加不上你啊,我也想研究一下这个漏洞,我之前看到过使用LD_PRELOAD进行提权的文章,这个方法很棒,能提供下这个环境更详细点的信息吗?
我想虚拟机搭建一个相同的环境,学习一下这种方法。
比如是什么系统 , PHP是什么版本,除了 disable_function, 还有需要配置之类的
from bypass_disablefunc_via_ld_preload.
该用户不存在,加不上你啊,我也想研究一下这个漏洞,我之前看到过使用LD_PRELOAD进行提权的文章,这个方法很棒,能提供下这个环境更详细点的信息吗?
我想虚拟机搭建一个相同的环境,学习一下这种方法。
比如是什么系统 , PHP是什么版本,除了 disable_function, 还有需要配置之类的
那是 QQ 不是微信 :-)
由于 LD_PRELOAD 的特殊性,既可以用于提权,又能用于绕过 disable_functions 执行命令,我这个 repo. 主要是后者。
from bypass_disablefunc_via_ld_preload.
Related Issues (3)
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 bypass_disablefunc_via_ld_preload.