Forge - HackTheBox
Forge HTB Machine(10.10.11.111) Recon: Let's add Machine IP into our /etc/hosts file 10.10.11.111 forge.htb . Starting with rustscan port scan we can find only 2 open ports, i.e. 22,80 Let's scan these ports with nmap, nmap -A -p22,80 -T4 10.10.11.111 . PORT STATE SERVICE VERSION 22/tcp open ssh OpenSSH 8.2p1 Ubuntu 4ubuntu0.3 (Ubuntu Linux; protocol 2.0) 80/tcp open http Apache httpd 2.4.41 |_http-server-header: Apache/2.4.41 (Ubuntu) |_http-title: Gallery Service Info: Host: 10.10.11.111; OS: Linux; CPE: cpe:/o:linux:linux_kernel Let's also do directory fuzzing in background and we found upload and uploads . Upload is that feature and uploads will probably be that directory where all file goes. There is no directory listing enabled. Let's also fuzz for vhosts on server. ffuf -u http://forge.htb/ -w /<path>/SecLists/Discovery/DNS/subdomains-top1million-110000.txt -H "Host: FUZZ.forge.htb" -fc 302 and we found admin instantly...