Twi1ight / impacket

Automatically exported from code.google.com/p/impacket
Other
1 stars 4 forks source link

Exception writing to named pipes #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
09/06/2012 03:09:57 PM: ERROR: smbComWriteAndx: '_socketobject' object has no 
attribute 'write'

seems like:

                     sock.write(writeAndXData['Data'])

should be:

                     sock.send(writeAndXData['Data'])

line ~1480 in smbserver.py

Original issue reported on code.google.com by bryanbu...@gmail.com on 6 Sep 2012 at 10:38

GoogleCodeExporter commented 9 years ago
Absolutely :).. 

Mistake there.. it is correct in smbComWrite, but wrong in smbComWriteAndX..

Fixed at: http://code.google.com/p/impacket/source/detail?r=713

thanks!

Original comment by bet...@gmail.com on 6 Sep 2012 at 10:47