RustScan
┌──(kali㉿kali)-[~/archive/htb/labs/writer]
└─$ rustscan -a $IP -b 20000
________________________________________
: 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.101:22
open 10.10.11.101:80
open 10.10.11.101:139
open 10.10.11.101:445
Nmap
┌──(kali㉿kali)-[~/archive/htb/labs/writer]
└─$ nmap -sC -sV -p22,80,139,445 $IP
Starting Nmap 7.93 ( https://nmap.org ) at 2023-04-19 11:09 CEST
Nmap scan report for 10.10.11.101
Host is up (0.092s latency).
PORT STATE SERVICE VERSION
22/tcp open ssh OpenSSH 8.2p1 Ubuntu 4ubuntu0.2 (Ubuntu Linux; protocol 2.0)
| ssh-hostkey:
| 3072 9820b9d0521f4e103a4a937e50bcb87d (RSA)
| 256 1004797a2974db28f9ffaf68dff13f34 (ECDSA)
|_ 256 77c4869a9f334fda71202ce151107e8d (ED25519)
80/tcp open http Apache httpd 2.4.41 ((Ubuntu))
|_http-title: Story Bank | Writer.HTB
|_http-server-header: Apache/2.4.41 (Ubuntu)
139/tcp open netbios-ssn Samba smbd 4.6.2
445/tcp open netbios-ssn Samba smbd 4.6.2
Service Info: OS: Linux; CPE: cpe:/o:linux:linux_kernel
Host script results:
| smb2-security-mode:
| 311:
|_ Message signing enabled but not required
|_nbstat: NetBIOS name: WRITER, NetBIOS user: <unknown>, NetBIOS MAC: 000000000000 (Xerox)
| smb2-time:
| date: 2023-04-19T09:09:55
|_ start_date: N/A
Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 15.71 seconds
The target system is Ubuntu