Information Security

smbclient : Backtrack 5: Non Menu Items: CLI Commands: smbclient

The smbclient command line application included in Backtrack Linux is a staple for pentesting. I would imagine anyone that has done a pentest has used it to quickly verify SMB (Server Message Block) or CIFS (Common Internet File System) shares. The smbclient manpage describes it as a FTP-like client to access SMB/CIFS resources on servers. Below we describe varios smbclient commands in details to provide a basic understanding of its capabilities and what output will look like when using this tool in Backtrack Linux.

Technology Insights

How To Install Mount.cifs On CentOS Linux Using Yum

When mounting remote NTFS network shares to a Linux server smbmount used to be used. This command is not used any longer and has been replaced by mount.cifs. If you had previously been using smbmount you should switch to using mount.cifs instead. If you attempt to use smbmount with a newer kernel version you will get the below warning.

WARNING:smbmount is deprecated and not maintained any longer. mount.cifs (mount -t cifs) should be used instead of smbmount.