HTB-Jerry

metafa1ica

Tomcat弱口令->上传war包

1
2
3
4
5
6
7
ip='10.129.136.9'
nxc smb 10.129.253.70 --generate-hosts-file ./hosts.txt
cat hosts.txt | sudo tee -a /etc/hosts
nmap -sC -sV -Pn -p- $ip

ports=$(nmap -p- --min-rate=1000 -T4 $ip | grep ^[0-9] | cut -d '/' -f 1| tr '\n' ',' | sed s/,$//)
nmap -p$ports -sC -sV $ip

image

admin/admin就进来了

image

manager进不来

image

image

感觉有点像CVE-2020-1938

image

但8009不通

image

爆破密码,为tomcat:s3cret

生成个war包上传,收工

image

  • 标题: HTB-Jerry
  • 作者: metafa1ica
  • 创建于 : 2025-07-27 23:28:45
  • 更新于 : 2025-08-17 13:29:28
  • 链接: https://metafa1ica.github.io/post/c0bcdae1a840/
  • 版权声明: 本文章采用 CC BY-NC-SA 4.0 进行许可。
评论
目录
HTB-Jerry