VulHubTomcat8+ 弱口令 && 后台getshell
漏洞环境实验
1.启动docker镜像
docker基于Ubuntu 已搭建完成。
拉取项目git clone https://github.com/vulhub/vulhub.git
进入镜像:cd vulhub/tomcat/tomcat8/
启动环境:docker-compose
up -d
2.登录tomcat管理后台
http://...:8080/manager/html,输入弱密码tomcat:tomcat,登录后台:
(tomcat爆破工具自行使用)
3.上传包含木马的war包getshell
准备好war包
准备3个木马文件,cmd马,菜刀马,jsp大马,打成一个zip压缩包,命名为:caidao.zip,再改名为caidao.war
将war