0x01 前言

Pasted image 20220109124621.png

靶机ip:10.10.11.105。

访问ip会跳转到http://horizontall.htb/,需设置hosts文件。

访问后界面如下:

Pasted image 20220109124726.png

0x02 端口扫描

扫描后,发现只开放了80、22端口,同样的方式同样的味道。

0x03 虚拟主机扫描

wfuzz -w /p12-字典收集/SecLists/Discovery/DNS/subdomains-top1million-110000.txt -u horizontall.htb --hc 301 -v -c -H "host:FUZZ.horizontall.htb" -t 100

Pasted image 20220109141827.png

要访问这个子域名,也需要进行hosts文件解析。

Pasted image 20220109142008.png

访问子域名,只有一个欢迎页面。

Pasted image 20220109142059.png

wfuzz扫描目录

wfuzz -w /p12-字典收集/web漏洞/目录fuzz/directory-list-2.3-medium.txt -u <http://api-prod.horizontall.htb/FUZZ> --hc 404

Pasted image 20220109142542.png

访问admin页面,跳转到http://api-prod.horizontall.htb/admin/auth/login页面。

Pasted image 20220109142626.png