smb-protocols NSE script — Nmap Scripting Engine documentation (original) (raw)

Script Arguments Example Usage Script Output

Script types: hostrule
Categories:safe, discovery
Download: https://svn.nmap.org/nmap/scripts/smb-protocols.nse

Script Summary

Attempts to list the supported protocols and dialects of a SMB server.

The script attempts to initiate a connection using the dialects:

Additionally if SMBv1 is found enabled, it will mark it as insecure. This script is the successor to the (removed) smbv2-enabled script.

Script Arguments

randomseed, smbbasic, smbport, smbsign

See the documentation for the smb library.

smbdomain, smbhash, smbnoguest, smbpassword, smbtype, smbusername

See the documentation for the smbauth library.

Example Usage

Script Output

| smb-protocols: | dialects: | NT LM 0.12 (SMBv1) [dangerous, but default] | 2.0.2 | 2.1 | 3.0 | 3.0.2 |_ 3.1.1

Requires


Author:

License: Same as Nmap--See https://nmap.org/book/man-legal.html