theLSA/tp5-getshell: thinkphp5 rce getshell
2019-03-09 19:57:41 Author: github.com(查看原文) 阅读量:235 收藏

Join GitHub today

GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.

Sign up


控制器过滤不严导致rce,漏洞详情参考

thinkphp5 RCE漏洞重现及分析


本工具支持单url/批量检测,有phpinfo模式、cmd shell模式、getshell(写一句话)模式,批量检测直接使用getshell模式。

python2.7


pip install -r requirements.txt

python tp5-getshell.py -h

单url检测(phpinfo模式)

使用4种poc-phpinfo检测

单url检测(getshell模式)

使用3种exp进行getshell,遇到先成功的exp就停止,防止重复getshell

python tp5-getshell.py -u http://www.xxx.com:8888/think5124/public/ –exploit

单url检测(cmd shell模式)

python tp5-getshell.py -u http://www.xxx.com/ –cmdshell

批量检测(getshell)

使用3种exp进行getshell,遇到先成功的exp就停止,防止重复getshell

python tp5-getshell.py -f urls.txt -t 2 -s 10


博客: http://www.lsablog.com/
gmail: [email protected]
qq: [email protected]
issues: https://github.com/theLSA/tp5-getshell/issues


文章来源: https://github.com/theLSA/tp5-getshell
如有侵权请联系:admin#unsafe.sh