SMB
SMB 서버를 통해서 OS 간의 파일 전송을 위해 서버는 아래와 같이 열 수 있습니다.
mkdir C:\Shared
net share Shared=C:\Shared /grant:Everyone,FULL
net share
net start lanmanserver
netsh advfirewall firewall add rule name="Allow SMB" protocol=TCP dir=in localport=445 action=allow
각 OS에서 SMB 서버를 실행했을 때 원격 서버에 접속하는 명령어는 각각 다음과 같습니다.
# SMB 서버 연결
net use Z: \\192.168.200.132\share /user:kali
# SMB 서버로부터 파일만 다운로드
copy \\<IP>\<Share>\<File>
Last updated
Was this helpful?