Interact with a server using the SMB 2/3 Protocol
https://github.com/jborean93/smbprotocol
SMBv2 and v3 Client for both Python 2 and 3.
This library implements the SMBv2 and SMBv3 protocol.
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)
- Developed at devel:languages:python
- Sources inherited from project openSUSE:Factory
-
2
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Factory:PowerPC/python-smbprotocol && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
python-smbprotocol-1.13.0.tar.gz | 0000190586 186 KB | |
python-smbprotocol.changes | 0000013795 13.5 KB | |
python-smbprotocol.spec | 0000002503 2.44 KB |
Latest Revision
Ana Guerrero (anag+factory)
accepted
request 1160444
from
Dirk Mueller (dirkmueller)
(revision 21)
- update to 1.13.0: * Added the property `smb_info` on `SMBDirEntry` which returns a named tuple `SMBDirEntryInformation` containing metadata already retrieved in the `scandir` operation. * This avoid having to call `stat()` to retrieve data like the file attributes or datetime fields that is already available * Ensure `DateTimeField` values are set to `UTC` timezones as FILETIME values are in UTC * Stop using `datetime.datetime.utcfromtimestamp()` as it has been deprecated * Added default timeout for disconnect operations for 60 seconds to ensure the process doesn't hang forever when closing a broken connection * `smbprotocol.connection.Connection.disconnect()` now waits (with a timeout) for the message processing threads to be stopped before returning. * Do not set the SMB SessionId and TreeId in the headers to `0xFFFFFFFF` for related compound requests + Ensures the source file for `shutil.copyfile` is opened with `share_access="r"` for better compatibility with files already opened by something else + Remove endless authentication loop when the context is complete and no more input messages are needed - Update to version 1.10.1 - python-six is not required - Update to version 1.9.0
Comments 0