HTB Dancing

SMB

What does the 3-letter acronym SMB stand for?

  • SMB(Server Message Block) 是一种网络文件共享协议,允许客户端和服务器之间共享文件、打印机、串口等资源。它广泛用于 Windows 系统中,但在 Linux 和 macOS 等系统上也可以通过工具(如 Samba)支持。

What port does SMB use to operate at?

  • 445

What is the service name for port 445 that came up in our Nmap scan?

  • microsoft-ds

What is the ‘flag’ or ‘switch’ that we can use with the smbclient utility to ‘list’ the available shares on Dancing?

  • -l

How many shares are there on Dancing?

  • smbclient -L 10.129.136.191 -N
  • -L列出共享文件夹,-N表示匿名登录HTB Dancing_第1张图片

What is the name of the share we are able to access in the end with a blank password?

  • WorkShares

What is the command we can use within the SMB shell to download the files we find?

  • get

Submit root flag

  • 先登录到SMB,smbclient //10.129.136.191/WorkShares -N
  • HTB Dancing_第2张图片

你可能感兴趣的:(渗透测试)