Advertisement
Guest User

Untitled

a guest
Jan 18th, 2017
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. root@kali:~# nmap --script smb-enum-shares -p445 <IP>
  2.  
  3. Starting Nmap 7.31 ( https://nmap.org ) at 2017-01-18 10:15 CET
  4. Nmap scan report for <IP>
  5. Host is up (0.00038s latency).
  6. PORT STATE SERVICE
  7. 445/tcp open microsoft-ds
  8. MAC Address: 08:00:27:01:6B:81 (Oracle VirtualBox virtual NIC)
  9.  
  10. Host script results:
  11. | smb-enum-shares:
  12. | account_used: guest
  13. | IPC$:
  14. | Type: STYPE_IPC_HIDDEN
  15. | Comment: IPC Service (Kioptrix4 server (Samba, Ubuntu))
  16. | Users: 1
  17. | Max Users: <unlimited>
  18. | Path: C:tmp
  19. | Anonymous access: READ/WRITE
  20. | Current user access: READ/WRITE
  21. | print$:
  22. | Type: STYPE_DISKTREE
  23. | Comment: Printer Drivers
  24. | Users: 0
  25. | Max Users: <unlimited>
  26. | Path: C:varlibsambaprinters
  27. | Anonymous access: <none>
  28. |_ Current user access: <none>
  29.  
  30. Nmap done: 1 IP address (1 host up) scanned in 6.99 seconds
  31.  
  32. mount -t cifs -o user=guest //<IP>/tmp /mnt/
  33. mount -t cifs -o user=guest //<IP>/C:tmp /mnt/
  34.  
  35. WARNING: The "syslog" option is deprecated
  36. Enter guest's password:
  37. Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.28a]
  38. tree connect failed: NT_STATUS_BAD_NETWORK_NAME
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement