RustScan
┌──(kali㉿kali)-[~/archive/htb/labs/permx]
└─$ rustscan -a $IP
________________________________________
: https://discord.gg/GFrQsGy :
: https://github.com/RustScan/RustScan :
--------------------------------------
Please contribute more quotes to our GitHub https://github.com/rustscan/rustscan
[~] The config file is expected to be at "/home/kali/.rustscan.toml"
[~] Automatically increasing ulimit value to 5000.
[!] File limit is lower than default batch size. Consider upping with --ulimit. May cause harm to sensitive servers
Open 10.10.11.23:22
Open 10.10.11.23:80
Nmap
┌──(kali㉿kali)-[~/archive/htb/labs/permx]
└─$ nmap -Pn -sC -sV -p22,80 $IP
Starting Nmap 7.94SVN ( https://nmap.org ) at 2024-07-08 15:16 CEST
Nmap scan report for 10.10.11.23
Host is up (0.020s latency).
PORT STATE SERVICE VERSION
22/tcp open ssh OpenSSH 8.9p1 Ubuntu 3ubuntu0.10 (Ubuntu Linux; protocol 2.0)
| ssh-hostkey:
| 256 e2:5c:5d:8c:47:3e:d8:72:f7:b4:80:03:49:86:6d:ef (ECDSA)
|_ 256 1f:41:02:8e:6b:17:18:9c:a0:ac:54:23:e9:71:30:17 (ED25519)
80/tcp open http Apache httpd 2.4.52
|_http-title: Did not follow redirect to http://permx.htb
|_http-server-header: Apache/2.4.52 (Ubuntu)
Service Info: Host: 127.0.0.1; OS: Linux; CPE: cpe:/o:linux:linux_kernel
Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 7.41 seconds
The target system appears to be Ubuntu
Interestingly, the hostname is set to the loopback address; 127.0.0.1
UDP
┌──(kali㉿kali)-[~/archive/htb/labs/permx]
└─$ sudo nmap -Pn -sU --top-port 100 $IP
Starting Nmap 7.94SVN ( https://nmap.org ) at 2024-07-08 15:08 CEST
Nmap scan report for 10.10.11.23
Host is up (0.090s latency).
Not shown: 99 closed udp ports (port-unreach)
PORT STATE SERVICE
68/udp open|filtered dhcpc
Nmap done: 1 IP address (1 host up) scanned in 111.80 seconds