Reconnaissance and Enumeration

A tester has already found SMB open on a Windows host and wants Nmap to list its shares without launching intrusive exploits. Which command is BEST?

Show the answer

Correct answerB. nmap -p445 --script smb-enum-shares 10.0.0.8

AWhy not this: smb-brute guesses credentials, which is intrusive and not share enumeration.

BWhy this is right: smb-enum-shares is the NSE script that lists SMB shares on the target.

CWhy not this: Version detection with --version-all identifies the service version but does not enumerate shares.

DWhy not this: smb-vuln-ms17-010 tests for one specific vulnerability and returns no share listing.

The smb-enum-shares NSE script enumerates the shares a host exposes over SMB, which matches the goal. smb-vuln-ms17-010 only checks whether the host is vulnerable to that flaw and does not list shares.