HTB-Jerry
| OS | Difficulty |
|---|---|
| Windows | Easy |
Nmap Scan
开放8080(tomcat),直接访问可以发现tomcat 默认管理页面
漏洞利用
访问目标,点击Manager App 在弹出的用户名密码界面,随便输入,就会跳转到403页面
页面中出现用户名密码,使用tomcat:s3cret 登录,可以看到部署页
使用msfvenom 生成后门,然后部署到tomcat, 点击应用名触发shell
| Flag | Path |
|---|---|
| Flag1 | C:\Users\Administrator\Desktop\flags\'2 for the price of 1.txt’ |
| Flag2 | C:\Users\Administrator\Desktop\flags\'2 for the price of 1.txt’ |