RustScan
┌──(kali㉿kali)-[~/archive/thm/lazyadmin]
└─$ rustscan -a $IP
________________________________________
: https://discord.gg/GFrQsGy :
: https://github.com/RustScan/RustScan :
--------------------------------------
Nmap? More like slowmap.🐢
[~] 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.187.138:22
Open 10.10.187.138:80
Nmap
┌──(kali㉿kali)-[~/archive/thm/lazyadmin]
└─$ nmap -sC -sV -p22,80 $IP
Starting Nmap 7.94SVN ( https://nmap.org ) at 2024-07-12 15:14 CEST
Nmap scan report for 10.10.187.138
Host is up (0.030s latency).
PORT STATE SERVICE VERSION
22/tcp open ssh OpenSSH 7.2p2 Ubuntu 4ubuntu2.8 (Ubuntu Linux; protocol 2.0)
| ssh-hostkey:
| 2048 49:7c:f7:41:10:43:73:da:2c:e6:38:95:86:f8:e0:f0 (RSA)
| 256 2f:d7:c4:4c:e8:1b:5a:90:44:df:c0:63:8c:72:ae:55 (ECDSA)
|_ 256 61:84:62:27:c6:c3:29:17:dd:27:45:9e:29:cb:90:5e (ED25519)
80/tcp open http Apache httpd 2.4.18 ((Ubuntu))
|_http-title: Apache2 Ubuntu Default Page: It works
|_http-server-header: Apache/2.4.18 (Ubuntu)
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 9.54 seconds
The target system appears to be Ubuntu
UDP
┌──(kali㉿kali)-[~/archive/thm/lazyadmin]
└─$ sudo nmap -Pn -sU --top-port 100 $IP
Starting Nmap 7.94SVN ( https://nmap.org ) at 2024-07-12 15:16 CEST
Nmap scan report for 10.10.187.138
Host is up (0.073s latency).
Not shown: 97 closed udp ports (port-unreach)
PORT STATE SERVICE
68/udp open|filtered dhcpc
631/udp open|filtered ipp
5353/udp open|filtered zeroconf
Nmap done: 1 IP address (1 host up) scanned in 138.11 seconds