[Edit]
+
0
-
0

Linux - check used SMB protocol version on Samba server (checking from client computer)

9600
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
nmap -p 445 --script=smb-protocols 192.168.1.110 # Where: `192.168.1.110` should be replaced with samba server IP. # Example output: # # Starting Nmap 7.94SVN ( https://nmap.org ) at 2024-11-13 16:38 CET # Nmap scan report for mini-itx.home (192.168.1.103) # Host is up (0.0018s latency). # # PORT STATE SERVICE # 445/tcp open microsoft-ds # # Host script results: # | smb-protocols: # | dialects: # | 2:0:2 # | 2:1:0 # | 3:0:0 # | 3:0:2 # |_ 3:1:1 # # Nmap done: 1 IP address (1 host up) scanned in 0.13 seconds # Hint: to install `nmap` command on Debian/Ubuntu use `sudo apt-get install nmap` command.