Skip to content

Issue with script: does not work, provides error. #24

Description

@ArulGandhi

The script on running provides this error:

C:\Users\hidden\Desktop\discord-spam>py irus.py
Traceback (most recent call last):
  File "C:\Users\hidden\Desktop\discord-spam\irus.py", line 33, in <module>
    c.connect()
    ~~~~~~~~~^^
  File "C:\Users\hidden\AppData\Local\Programs\Python\Python313\Lib\site-packages\pypsexec\client.py", line 103, in connect
    self.connection.connect(timeout=timeout)
    ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "C:\Users\hidden\AppData\Local\Programs\Python\Python313\Lib\site-packages\smbprotocol\connection.py", line 888, in connect
    smb_response = self._send_smb2_negotiate(dialect, timeout, enc_algos, sign_algos)
  File "C:\Users\hidden\AppData\Local\Programs\Python\Python313\Lib\site-packages\smbprotocol\connection.py", line 1614, in _send_smb2_negotiate
    response = self.receive(request, timeout=timeout)
  File "C:\Users\hidden\AppData\Local\Programs\Python\Python313\Lib\site-packages\smbprotocol\connection.py", line 1028, in receive
    self._check_worker_running()  # The worker may have failed while waiting for the response, check again
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "C:\Users\hidden\AppData\Local\Programs\Python\Python313\Lib\site-packages\smbprotocol\connection.py", line 1187, in _check_worker_running
    raise SMBConnectionClosed("SMB socket was closed, cannot send or receive any more data")
smbprotocol.exceptions.SMBConnectionClosed: SMB socket was closed, cannot send or receive any more data

I have 0 idea what's going wrong: I've tried adding and removing timeouts, and investigating the service, but I can't figure out a way to get this working. Can someone advise? Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions