smbprotocol
SMBv2 and v3 Client for Python.
SMB is a network file sharing protocol and has numerous iterations over the
years. This library implements the SMBv2 and SMBv3 protocol based on the
MS-SMB2 document.
Features
Negotiation of the SMB 2.0.2 protocol to SMB 3.1.1 (Windows 10/Server 2016)
Authentication with both NTLM and Kerberos
Message signing
Message encryption (SMB 3.x.x+)
Connect to a Tree/Share
Opening of files, pipes and directories
Set create contexts when opening files
Read and writing of files and pipes
Sending IOCTL commands
Sending of multiple messages in one packet (compounding)
Experimental support for both standalone and DFS server shares
This is definitely not feature complete as SMB is quite a complex protocol, see
backlog for features that would be nice to have in this library.
Requirements
Python 3.7+
For Kerberos auth on Linux
python-gssapi
pykrb5
To use Kerberos authentication on Linux, further dependencies are required, to install these dependenc
|