Comments (5)
Thanks @pacmanoth for the detailed info. Are you able to let me know the following bits of info;
- The OS version you are connecting to
- If you have something like Wireshark, do you see any packets being returned from the server after the initial negotiation request
When I first started working on this I found some libraries send an SMB v1 negotiate message first and then send an SMB v2 negotiate message with the true list of dialects the client supported if the first message responsed with the dialect wildcard value. I tested out quite a few scenarios and found that this wasn't required and removed this step to save on time and complexity, I assumed it was only needed if you wanted to support SMB v1 which I don't. Maybe I missed something and it is needed but I'm not sure.
from smbprotocol.
Thank you for your reply. Looks like the machines in question are probably Windows 2003 R2.
I am including the wireshark output from an attempt to connect to one of these machines. Note that the Source Machine is 137.65.57.227 and the Target is: 151.155.185.187
SMB Trace.zip
from smbprotocol.
Server 2003 only supports SMB v1 which is is not under the scope of this library unfortunately. SMB v1 is completely different and outdated compared to v2 and 3 and I have no plans on implementing it due to the various security issues associated with it.
from smbprotocol.
:-(
from smbprotocol.
Sorry to be the bearer of bad news but SMB v1 is just plain insecure and should be burned at the stake, even Microsoft has numerous articles explaining why and how to disable it on newer hosts. Unfortunately Server 2003 needs SMB v1 but as that has been out of support for a few years now there's not much I can do for you sorry.
from smbprotocol.
Related Issues (20)
- Difference between SMBDirEntry._dir_info and .stat() HOT 8
- On disconnectt wait for msg_worker thread to end. HOT 2
- Example/Documentation unclear for low level reading of file size. HOT 6
- Unable to login to Azure drives from linux HOT 1
- Cannot use `share_access="r"` with `smbclient.shutil.copytree()` HOT 10
- smbprotocol.connection.Connection.connect() no longer shows the low-level connection error HOT 5
- Compounded related requests: should TreeId and SessionId be set to 0xff..ff? HOT 3
- SpnegoError when connecting to impacket test server HOT 5
- smbprotocol.transport.Tcp._recv can end up in a dead lock HOT 4
- `listdir` requires server name on its call
- Wrong raw_type when deleting a directory HOT 1
- mkdir -p recursive directory create HOT 2
- Enquiry about exception propagation in `transport.py` HOT 2
- SMBAuthenticationError sometimes HOT 8
- STATUS_LOGON_FAILURE HOT 6
- Unable to get accurate acl from Security Descriptor HOT 5
- Any way to list shares of an SMB server after creating session? HOT 2
- SMBDirEntryInformation.last_write_time is of type date, expected a datetime HOT 3
- Maximum recursion depth exceeded for large DFS server share HOT 1
- Unable to read files using that are being used by some other users' proccesses on remote server (High-level API) HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smbprotocol.