smb_test.sh 332 B

12345678
  1. docker run -d --network=host my-container:latest
  2. docker run -it --network=host --rm --name testubuntu ubuntu:14.04
  3. docker run -it --rm --name testubuntu --network=host ubuntu:14.04
  4. apt install smbclient
  5. smbclient -L 127.0.0.1:445 -U name%pwd
  6. smbclient -L 192.168.1.2 -m smb2
  7. smbclient -L 192.168.1.2 -m smb2 -U name --password pwd