Web
Nmap discovered a Web server on the target port 80
The running service is Apache httpd 2.4.29 ((Ubuntu))
┌──(kali㉿kali)-[~/PEN-200/PG_PRACTICE/escape_offsec]
└─$ curl -I -X OPTIONS http://$IP/
HTTP/1.1 200 OK
Date: Thu, 06 Mar 2025 12:26:07 GMT
Server: Apache/2.4.29 (Ubuntu)
Allow: GET,POST,OPTIONS,HEAD
Content-Length: 0
Content-Type: text/html
┌──(kali㉿kali)-[~/PEN-200/PG_PRACTICE/escape_offsec]
└─$ curl -I http://$IP/
HTTP/1.1 200 OK
Date: Thu, 06 Mar 2025 12:21:54 GMT
Server: Apache/2.4.29 (Ubuntu)
Last-Modified: Wed, 09 Dec 2020 20:19:02 GMT
ETag: "9f-5b60dc5298f3d"
Accept-Ranges: bytes
Content-Length: 159
Vary: Accept-Encoding
Content-Type: text/html
Webroot
It appears identical to the web application on the port
8080
Fuzzing
┌──(kali㉿kali)-[~/PEN-200/PG_PRACTICE/escape_offsec]
└─$ ffuf -c -w /usr/share/wordlists/seclists/Discovery/Web-Content/big.txt -u http://$IP/FUZZ -ic
________________________________________________
:: Method : GET
:: URL : http://192.168.122.113/FUZZ
:: Wordlist : FUZZ: /usr/share/wordlists/seclists/Discovery/Web-Content/big.txt
:: Follow redirects : false
:: Calibration : false
:: Timeout : 10
:: Threads : 40
:: Matcher : Response status: 200-299,301,302,307,401,403,405,500
________________________________________________
.htaccess [Status: 403, Size: 280, Words: 20, Lines: 10, Duration: 3210ms]
.htpasswd [Status: 403, Size: 280, Words: 20, Lines: 10, Duration: 4215ms]
icons [Status: 403, Size: 280, Words: 20, Lines: 10, Duration: 108ms]
server-status [Status: 403, Size: 280, Words: 20, Lines: 10, Duration: 24ms]
:: Progress: [20478/20478] :: Job [1/1] :: 1428 req/sec :: Duration: [0:00:16] :: Errors: 0 ::
┌──(kali㉿kali)-[~/PEN-200/PG_PRACTICE/escape_offsec]
└─$ ffuf -c -w /usr/share/wordlists/seclists/Discovery/Web-Content/directory-list-lowercase-2.3-medium.txt -u http://$IP/FUZZ/ -ic
________________________________________________
:: Method : GET
:: URL : http://192.168.122.113/FUZZ/
:: Wordlist : FUZZ: /usr/share/wordlists/seclists/Discovery/Web-Content/directory-list-lowercase-2.3-medium.txt
:: Follow redirects : false
:: Calibration : false
:: Timeout : 10
:: Threads : 40
:: Matcher : Response status: 200-299,301,302,307,401,403,405,500
________________________________________________
[Status: 200, Size: 159, Words: 10, Lines: 17, Duration: 31ms]
icons [Status: 403, Size: 280, Words: 20, Lines: 10, Duration: 29ms]
server-status [Status: 403, Size: 280, Words: 20, Lines: 10, Duration: 24ms]
:: Progress: [207630/207630] :: Job [1/1] :: 1526 req/sec :: Duration: [0:02:25] :: Errors: 0 ::
N/A