1

我正在尝试列出我在虚拟机桌面上的共享文件夹。使用这些命令:

nmap -sU -sS --script smb-enum-shares.nse -p U:137,T:139 10.10.10.115

nmap --script smb-enum-shares.nse -p445 10.10.10.115

组合输出为:

Nmap scan report for 10.10.10.115
Host is up (0.00s latency).
PORT    STATE SERVICE
445/tcp open  microsoft-ds
139/tcp open  netbios-ssn
137/udp open  netbios-ns
MAC Address: 08:00:27:31:DB:FC (Oracle VirtualBox virtual NIC)

这不是我应该引用的输出:https ://nmap.org/nsedoc/scripts/smb-enum-shares.html

为什么桌面上没有列出共享文件夹?我已为该文件夹的每个人设置了最大权限。

谢谢 !

纪尧姆

4

2 回答 2

1

似乎是 nmap 中的一个错误https://github.com/nmap/nmap/issues/704

您可以尝试-dflag 在调试模式下运行 nmap。我看到“SMB:以\guest 身份登录失败(NT_STATUS_ACCOUNT_DISABLED)”错误。但是其他实用程序(例如,softperfect 网络扫描仪)在没有远程计算机上的特定权限的情况下可以正常工作。

于 2017-03-23T14:32:17.587 回答
0

请参阅文档:smb-enum-shares。在smbauth模块中使用函数add_account

于 2017-04-08T06:25:07.003 回答