2 :139 :445 smb
$ nmap -p 139,445 --script=smb-enum-shares.nse,smb-enum-users.nse $ip
Host script results:
| smb-enum-shares:
| account_used: guest
| \\192.168.99.98\IPC$:
| Type: STYPE_IPC_HIDDEN
| Comment: IPC Service (Samba 4.9.5-Debian)
| Users: 1
| Max Users: <unlimited>
| Path: C:\tmp
| Anonymous access: READ/WRITE
| Current user access: READ/WRITE
| \\192.168.99.98\print$:
| Type: STYPE_DISKTREE
| Comment: Printer Drivers
| Users: 0
| Max Users: <unlimited>
| Path: C:\var\lib\samba\printers
| Anonymous access: <none>
|_ Current user access: <none>
$ smbmap -H $ip
[+] IP: 192.168.99.98:445 Name: 192.168.99.98
Disk Permissions Comment
---- ----------- -------
print$ NO ACCESS Printer Drivers
IPC$ NO ACCESS IPC Service (Samba 4.9.5-Debian)
Last updated