Comments (12)
Hey Shawn:
Thanks for the bug report.. I'll try to reproduce the bug you're pointing out
and I'll get back to you.. By any chance, did you test it under a newer OS
(trying to understand whether the problem would happen at the smb2/3 layer too).
cheers,
beto
Original comment by [email protected]
on 5 Jun 2014 at 8:28
from impacket.
If needed I can provide a PCAP of the native LInux tool (smbclient) as well as
smbclient.py as a basis for comparison.
Original comment by [email protected]
on 5 Jun 2014 at 8:28
from impacket.
Yes please! :)
Original comment by [email protected]
on 5 Jun 2014 at 8:29
from impacket.
Point of fact I haven't tried it using SMB2/3. I'll fire up a Win7 VM and run
a similar test. I'll let you know what I find out. My initial suspicion was
that it was in fact related to SMBv1.
Original comment by [email protected]
on 5 Jun 2014 at 8:30
from impacket.
PCAPs attached! Thanks for the swift response!
Original comment by [email protected]
on 5 Jun 2014 at 8:37
Attachments:
from impacket.
Using a similar configuration in Win7 everything works as expected. The remote
file downloaded without issue.
Original comment by [email protected]
on 5 Jun 2014 at 9:11
from impacket.
Shawn:
Indeed.. retr_file() (only in smb.py /v1) is trying to open the file (through
nt_create_andx()) with write permissions.
Actually nt_create_andx didn't accept any accessMask bits so I added that...
I'm attaching you a new smb.py file.. could you please check it under your
configuration? I'm gonna run the test cases here just to be sure everything's
fine.
be sure to set the pythonpath to the right place so this smb.py is lodaded. If
you have problems with this let me know..
thanks!
beto
Original comment by [email protected]
on 5 Jun 2014 at 9:13
Attachments:
from impacket.
Flawless victory! That did the trick!!!!! WinXP (smbv1) downloads are now
working without issue. Thanks again for the prompt response.
Original comment by [email protected]
on 5 Jun 2014 at 9:21
from impacket.
Awesome!.. Thanks to you Shawn for taking the time to report this issue..
I'll update trunk tomorrow with this change..
Let me know if you find something else.. and enjoy impacket :)
beto
Original comment by [email protected]
on 5 Jun 2014 at 9:24
from impacket.
Fixed in http://code.google.com/p/impacket/source/detail?r=1228
Original comment by [email protected]
on 5 Jun 2014 at 10:29
- Changed state: Fixed
from impacket.
I seriously <3 impacket! (regards to pysmb) Thanks again for the swift action.
It made me feel less crazy almost immediately :).
Original comment by [email protected]
on 6 Jun 2014 at 1:19
from impacket.
thanks for the good vibes :).. Craziness is welcome don't worry.. jump in here
anytime if you need something..
beto
Original comment by [email protected]
on 6 Jun 2014 at 1:33
from impacket.
Related Issues (20)
- impacket-smbserver won't run with error message SyntaxError: multiple exception types must be parenthesized HOT 2
- Constrained Delegation With Ticketer ST Gives "KRB_AP_ERR_MODIFIED(Message stream modified)" HOT 1
- PyOpenSSL has removed deprecated PKCS12 breaking --shadow-credentials in ntlmrelayx.py HOT 1
- Can't add REG_MULTI_SZ registry values using reg.py HOT 3
- Failed building wheel while installing HOT 2
- unsupported mechtype 'negoex - spnego extended negotiation security mechanism' HOT 2
- NTLMRelayX (multirelay) infinite retries when attacking an HTTP target even if successful
- SMB: Missing out of memory error handling 0x17000000 HOT 4
- AttributeError: 'NTLMRelayxConfig' object has no attribute 'setAddComputerSMB') HOT 1
- Create a release for impacket HOT 1
- Moving `impacket/impacket/examples` to `impacket/examples` HOT 9
- Does not install on Windows 10 HOT 1
- wmiexec.py: "Can't find a valid stringBinding to connect" when using a domain defined in `/etc/hosts` HOT 1
- HTTP relay server fails to negotiate NTLM authentication for keep-alive requests
- secretsdump.py empty output when dumping AD hashes. HOT 1
- NTDSHashes.__init__() got an unexpected keyword argument 'skipUser' HOT 3
- Feature Request: secretsdump.py should also parse deleted registry hives
- AttributeError: 'NTLMRelayxConfig' object has no attribute 'setAddComputerSMB' HOT 1
- Signed commits break building and installing from git repo if `log.showSignature=true` in git
- mssqlclient.py doesn't list databases when used directly from the repo HOT 1
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 impacket.