RustScan


┌──(kali㉿kali)-[~/archive/htb/labs/trickster]
└─$ rustscan -a $IP
________________________________________
: http://discord.skerritt.blog         :
: https://github.com/RustScan/RustScan :
 --------------------------------------
I don't always scan ports, but when I do, I prefer RustScan.
 
[~] The config file is expected to be at "/home/kali/.rustscan.toml"
[~] Automatically increasing ulimit value to 10000.
Open 10.129.126.169:22
Open 10.129.126.169:80

Nmap


┌──(kali㉿kali)-[~/archive/htb/labs/trickster]
└─$ nmap -Pn -sC -sV -p22,80 $IP 
Starting Nmap 7.94SVN ( https://nmap.org ) at 2024-09-21 21:55 CEST
Nmap scan report for 10.129.126.169
Host is up (0.021s latency).
 
PORT   STATE SERVICE VERSION
22/tcp open  ssh     OpenSSH 8.9p1 Ubuntu 3ubuntu0.10 (Ubuntu Linux; protocol 2.0)
| ssh-hostkey: 
|   256 8c:01:0e:7b:b4:da:b7:2f:bb:2f:d3:a3:8c:a6:6d:87 (ECDSA)
|_  256 90:c6:f3:d8:3f:96:99:94:69:fe:d3:72:cb:fe:6c:c5 (ED25519)
80/tcp open  http    Apache httpd 2.4.52
|_http-title: Did not follow redirect to http://trickster.htb/
|_http-server-header: Apache/2.4.52 (Ubuntu)
Service Info: Host: _; 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 8.80 seconds

The target system appears to be Ubuntu

UDP


┌──(kali㉿kali)-[~/archive/htb/labs/trickster]
└─$ sudo nmap -Pn -sU --top-port 1000 $IP
Starting Nmap 7.94SVN ( https://nmap.org ) at 2024-09-21 21:55 CEST
Nmap scan report for 10.129.126.169
Host is up (0.072s latency).
Not shown: 999 closed udp ports (port-unreach)
PORT   STATE         SERVICE
68/udp open|filtered dhcpc
 
Nmap done: 1 IP address (1 host up) scanned in 1164.00 seconds