Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

another exception, this time in setup andx processing #18

Closed
GoogleCodeExporter opened this issue Apr 15, 2015 · 1 comment
Closed

another exception, this time in setup andx processing #18

GoogleCodeExporter opened this issue Apr 15, 2015 · 1 comment
Labels
bug Unexpected problem or unintended behavior

Comments

@GoogleCodeExporter
Copy link

here's a repro payload:

00000049ff534d42730000000000000000000000000000000000000000005c02000000000dff0000
00ffff02005c02000000000000000000000000010000000b0000004d5300434c49454e5400

and here's a stack trace:

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/impacket/smbserver.py", line 2332, in handle
    resp = self.__SMB.processRequest(self.__connId, p.get_trailer())
  File "/usr/local/lib/python2.7/dist-packages/impacket/smbserver.py", line 2651, in processRequest
    packet)
  File "/usr/local/lib/python2.7/dist-packages/impacket/smbserver.py", line 2177, in smbComSessionSetupAndX
    sessionSetupData.fromString(SMBCommand['Data'])
  File "/usr/local/lib/python2.7/dist-packages/impacket/structure.py", line 142, in fromString
    size = self.calcUnpackSize(field[1], data, field[0])
  File "/usr/local/lib/python2.7/dist-packages/impacket/structure.py", line 464, in calcUnpackSize
    return self.calcUnpackSize(two[0], data)
  File "/usr/local/lib/python2.7/dist-packages/impacket/structure.py", line 496, in calcUnpackSize
    return data.index('\x00')+1
ValueError: substring not found

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

@asolino asolino added bug Unexpected problem or unintended behavior and removed auto-migrated labels May 15, 2015
@asolino
Copy link
Collaborator

asolino commented Dec 2, 2015

Can't reproduce it anymore

@asolino asolino closed this as completed Dec 2, 2015
ShutdownRepo referenced this issue in ThePorgs/impacket Nov 26, 2022
p0dalirius pushed a commit to p0dalirius/impacket that referenced this issue Feb 1, 2023
 SID Bruteforce through ntlmrelay over SMB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants