RustScan


┌──(kali㉿kali)-[~/archive/htb/labs/resource]
└─$ rustscan -a $IP
________________________________________
: https://discord.gg/GFrQsGy           :
: https://github.com/RustScan/RustScan :
 --------------------------------------
😵 https://admin.tryhackme.com
 
[~] 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.27:22
Open 10.10.11.27:80
Open 10.10.11.27:2222

Nmap


┌──(kali㉿kali)-[~/archive/htb/labs/resource]
└─$ nmap -sC -sV -p22,80,2222 $IP      
Starting Nmap 7.94SVN ( https://nmap.org ) at 2024-08-03 21:06 CEST
Nmap scan report for 10.10.11.27
Host is up (0.020s latency).
 
PORT     STATE SERVICE VERSION
22/tcp   open  ssh     OpenSSH 9.2p1 Debian 2+deb12u3 (protocol 2.0)
| ssh-hostkey: 
|   256 d5:4f:62:39:7b:d2:22:f0:a8:8a:d9:90:35:60:56:88 (ECDSA)
|_  256 fb:67:b0:60:52:f2:12:7e:6c:13:fb:75:f2:bb:1a:ca (ED25519)
80/tcp   open  http    nginx 1.18.0 (Ubuntu)
|_http-server-header: nginx/1.18.0 (Ubuntu)
|_http-title: Did not follow redirect to http://itrc.ssg.htb/
2222/tcp open  ssh     OpenSSH 8.9p1 Ubuntu 3ubuntu0.10 (Ubuntu Linux; protocol 2.0)
| ssh-hostkey: 
|   256 f2:a6:83:b9:90:6b:6c:54:32:22:ec:af:17:04:bd:16 (ECDSA)
|_  256 0c:c3:9c:10:f5:7f:d3:e4:a8:28:6a:51:ad:1a:e1:bf (ED25519)
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 7.47 seconds

The target system is Ubuntu

UDP


┌──(kali㉿kali)-[~/archive/htb/labs/resource]
└─$ sudo nmap -sU -top-ports 1000 $IP 
Starting Nmap 7.94SVN ( https://nmap.org ) at 2024-08-03 21:08 CEST
Nmap scan report for 10.10.11.27
Host is up (0.21s 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 1111.96 seconds