Skip to content

Fabian1337/smb-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Access Samba/Windows-Shares

Small example how to upload, download, delete files (use at your own risk). This worked with my mini WIFI-Router USB-Stick-Share.

First you need to download these two python modules: pysmb-1.1.13 and pyasn1-0.1.7 Then extract \pysmb-1.1.13\python2\smb, \pysmb-1.1.13\python2\nmb and \pyasn1-0.1.7\pyasn1\ to the side-packages directory. After adjusting the parameters (username, password, ...) you might check for NetBIOS support or leave it for TCP support. => Port (139 = NetBIOS) and is_direct_tcp=False => SUPPORT_SMB2=True

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%