Impacket SMB Server
Start an SMB server for file transfer to/from Windows targets
- Tool
- impacket-smbserver
- Category
- Utilities / File Transfer
- Platform
- linux
- Requires
- shell access
- Protocols
- SMB
Syntax
Angle-bracket tokens are placeholders — replace them with your target's values, or open this command in the app to fill them in and copy the result.
impacket-smbserver '<share_name>' '<share_path>' -smb2support
Examples
impacket-smbserver 'share' '.' -smb2support
impacket-smbserver 'share' '/tmp/loot' -smb2support -username 'user' -password 'pass'
Tags
Related commands
- NetExec FTP Download Download a file from an FTP server. Saves to the current working directory with the…
- NetExec FTP Upload Upload a file to an FTP server. Useful for staging payloads on misconfigured…
- Python HTTP Server Start a simple HTTP server for file transfer