Transferred from: bytes Smbclient-l 198.168.0.1-u username % Password2. Use smbclient like an FTP Client Smbclient // 192.168.0.1/tmp-u username % Password After the smbclient command is successfully executed, enter the smbclient environment and enter the prompt: SMB:/>? The supported commands are displayed. Many Commands are similar to FTP commands, such as CD, LCD, get, megt, put, and mput. With these commands, we can access the shared resources of remote hosts. 3. directly use the smbclient command at one time Smbclient-c "ls" // 192.168.0.1/tmp-u username % Password And Smbclient // 192.168.0.1/tmp-u username % Password SMB:/> ls Same functions Create a shared folder Smbclient-c "mkdir share1" // 192.168.0.1/tmp-u username % Password If the user shares/192.168.0.1/tmp in read-only mode, a message is displayed. Nt_status_access_denied making remote directory/share1 4. In addition to smbclient, you can also mount remote shared folders through Mount and smbcount. Mount Mount-t cifs-O username = administrator, password = 123456 // 192.168.0.1/tmp/mnt/tmp Unmount umount/mnt/tmp |