RustScan


┌──(kali㉿kali)-[~/archive/thm/tomghost]
└─$ rustscan -a $IP
________________________________________
: https://discord.gg/GFrQsGy           :
: https://github.com/RustScan/RustScan :
 --------------------------------------
0day was here
 
[~] 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.198.73:22
Open 10.10.198.73:53
Open 10.10.198.73:8009
Open 10.10.198.73:8080

Nmap


┌──(kali㉿kali)-[~/archive/thm/tomghost]
└─$ nmap -sC -sV -p22,53,8009,8080 $IP
Starting Nmap 7.94SVN ( https://nmap.org ) at 2024-07-13 16:13 CEST
Nmap scan report for 10.10.198.73
Host is up (0.029s latency).
 
PORT     STATE SERVICE    VERSION
22/tcp   open  ssh        OpenSSH 7.2p2 Ubuntu 4ubuntu2.8 (Ubuntu Linux; protocol 2.0)
| ssh-hostkey: 
|   2048 f3:c8:9f:0b:6a:c5:fe:95:54:0b:e9:e3:ba:93:db:7c (RSA)
|   256 dd:1a:09:f5:99:63:a3:43:0d:2d:90:d8:e3:e1:1f:b9 (ECDSA)
|_  256 48:d1:30:1b:38:6c:c6:53:ea:30:81:80:5d:0c:f1:05 (ED25519)
53/tcp   open  tcpwrapped
8009/tcp open  ajp13      Apache Jserv (Protocol v1.3)
| ajp-methods: 
|_  Supported methods: GET HEAD POST OPTIONS
8080/tcp open  http       Apache Tomcat 9.0.30
|_http-title: Apache Tomcat/9.0.30
|_http-favicon: Apache Tomcat
Service Info: 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 12.25 seconds
 

The target system is Ubuntu

UDP


┌──(kali㉿kali)-[~/archive/thm/tomghost]
└─$ sudo nmap -Pn --top-port 100 -sU $IP
Starting Nmap 7.94SVN ( https://nmap.org ) at 2024-07-13 16:13 CEST
Nmap scan report for 10.10.198.73
Host is up (0.057s latency).
Not shown: 97 closed udp ports (port-unreach)
PORT    STATE         SERVICE
53/udp  open|filtered domain
68/udp  open|filtered dhcpc
120/udp open|filtered cfdptkt
 
Nmap done: 1 IP address (1 host up) scanned in 109.16 seconds