Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@kali:~# nmap --script smb-enum-shares -p445 <IP>
- Starting Nmap 7.31 ( https://nmap.org ) at 2017-01-18 10:15 CET
- Nmap scan report for <IP>
- Host is up (0.00038s latency).
- PORT STATE SERVICE
- 445/tcp open microsoft-ds
- MAC Address: 08:00:27:01:6B:81 (Oracle VirtualBox virtual NIC)
- Host script results:
- | smb-enum-shares:
- | account_used: guest
- | IPC$:
- | Type: STYPE_IPC_HIDDEN
- | Comment: IPC Service (Kioptrix4 server (Samba, Ubuntu))
- | Users: 1
- | Max Users: <unlimited>
- | Path: C:tmp
- | Anonymous access: READ/WRITE
- | Current user access: READ/WRITE
- | print$:
- | Type: STYPE_DISKTREE
- | Comment: Printer Drivers
- | Users: 0
- | Max Users: <unlimited>
- | Path: C:varlibsambaprinters
- | Anonymous access: <none>
- |_ Current user access: <none>
- Nmap done: 1 IP address (1 host up) scanned in 6.99 seconds
- mount -t cifs -o user=guest //<IP>/tmp /mnt/
- mount -t cifs -o user=guest //<IP>/C:tmp /mnt/
- WARNING: The "syslog" option is deprecated
- Enter guest's password:
- Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.28a]
- tree connect failed: NT_STATUS_BAD_NETWORK_NAME
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement