Created
May 24, 2018 09:34
-
-
Save improve100/09ea321d6b1af1a9226f3b27e8b5516e to your computer and use it in GitHub Desktop.
smbclient
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1,列出某个IP地址所提供的共享文件夹 | |
smbclient -L 198.168.0.1 -U username%password | |
2,像FTP客户端一样使用smbclient | |
smbclient //192.168.0.1/tmp -U username%password | |
执行smbclient命令成功后,进入smbclient环境,出现提示符: smb:/> | |
这里有许多命令和ftp命令相似,如cd 、lcd、get、megt、put、mput等。通过这些命令,我们可以访问远程主机的共享资源。 | |
get 从远程到本地 | |
put 从本地到远程 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment