use auxiliary/scanner/smb/smb_version
msf6 auxiliary(scanner/smb/smb_version) > set RHOSTS 192.168.3.0/24
RHOSTS => 192.168.3.0/24
msf6 auxiliary(scanner/smb/smb_version) > set THREADS 200
THREADS => 200
msf6 auxiliary(scanner/smb/smb_version) > show options
Module options (auxiliary/scanner/smb/smb_version):
Name Current Setting Required Description
---- --------------- -------- -----------
RHOSTS 192.168.3.0/24 yes The target host(s), see https://github.com/rapid7/metasploit-framework/wiki/Using-Metasploit
THREADS 200 yes The number of concurrent threads (max one per host)
View the full module info with the info, or info -d command.
msf6 auxiliary(scanner/smb/smb_version) > exploit
[*] 192.168.3.54:445 - SMB Detected (versions:1) (preferred dialect:) (signatures:optional)
[*] 192.168.3.54:445 - Host could not be identified: Unix (Samba 3.4.7)
[*] 192.168.3.86:445 - SMB Detected (versions:2, 3) (preferred dialect:SMB 3.1.1) (compression capabilities:LZNT1) (encryption capabilities:AES-128-GCM) (signatures:optional) (guid:{5aa1718d-4a98-4c72-82cd-c66758bc4f5a}) (authentication domain:VS)
[*] 192.168.3.17:445 - SMB Detected (versions:2, 3) (preferred dialect:SMB 3.1.1) (compression capabilities:) (encryption capabilities:AES-128-GCM) (signatures:optional) (guid:{834d7010-dd9c-4941-a81d-bf59e499a2ff}) (authentication domain:20190827-141629)
[*] 192.168.3.11:445 - SMB Detected (versions:2, 3) (preferred dialect:SMB 3.1.1) (compression capabilities:LZNT1) (encryption capabilities:AES-128-GCM) (signatures:optional) (guid:{49fa905c-6104-4f84-8100-70f1b1c949a1}) (authentication domain:DESKTOP0218)
[*] 192.168.3.3:445 - SMB Detected (versions:2, 3) (preferred dialect:SMB 3.1.1) (compression capabilities:LZNT1, Pattern_V1) (encryption capabilities:AES-256-GCM) (signatures:optional) (guid:{57395a04-2309-4e83-93c3-2f03942221f6}) (authentication domain:我的电脑)
[*] 192.168.3.49:445 - SMB Detected (versions:2, 3) (preferred dialect:SMB 3.1.1) (compression capabilities:LZNT1, Pattern_V1) (encryption capabilities:AES-256-GCM) (signatures:optional) (guid:{1fb55d2a-4ce7-4cc3-9e5f-3519220b2c19}) (authentication domain:TTT)
[*] 192.168.3.13:445 - SMB Detected (versions:1, 2, 3) (preferred dialect:SMB 3.1.1) (compression capabilities:LZNT1) (encryption capabilities:AES-128-GCM) (signatures:optional) (guid:{2cfd2b07-613b-4559-b9be-235f22d24daf}) (authentication domain:ANGIN)
[+] 192.168.3.13:445 - Host is running Windows 10 Enterprise (build:19041) (name:ANGIN) (workgroup:WorkGroup)
[*] 192.168.3.0/24: - Scanned 46 of 256 hosts (17% complete)
[*] 192.168.3.0/24: - Scanned 183 of 256 hosts (71% complete)
[*] 192.168.3.0/24: - Scanned 194 of 256 hosts (75% complete)
[*] 192.168.3.0/24: - Scanned 197 of 256 hosts (76% complete)
[*] 192.168.3.0/24: - Scanned 197 of 256 hosts (76% complete)
[*] 192.168.3.0/24: - Scanned 198 of 256 hosts (77% complete)
[*] 192.168.3.0/24: - Scanned 198 of 256 hosts (77% complete)
[*] 192.168.3.0/24: - Scanned 240 of 256 hosts (93% complete)
[*] 192.168.3.0/24: - Scanned 254 of 256 hosts (99% complete)
[*] 192.168.3.0/24: - Scanned 256 of 256 hosts (100% complete)
[*] Auxiliary module execution completed
msf6 auxiliary(scanner/smb/smb_version) >
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)