Skip to content

OSError: [Errno 99] Cannot assign requested address #2

@Bitnutz

Description

@Bitnutz

Following the demo instructions, upon entering the remote host IP, the empty host port and no payload option, there's the following exception:

[]Listening on :5000
Exception in thread Thread-1 (active_connection):
[
]Listening on :5001
[]Keystrokes file path -> logs.txt
Exception in thread Thread-2 (keylog_connection):
[
]Listening on :5002
[*]Image file path -> image.jpeg
Exception in thread Thread-3 (screenshot_connection):
Traceback (most recent call last):
Traceback (most recent call last):
Traceback (most recent call last):
File "/usr/lib/python3.13/threading.py", line 1043, in _bootstrap_inner
self.run()
~~~~~~~~^^
File "/usr/lib/python3.13/threading.py", line 994, in run
self._target(*self._args, **self._kwargs)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kali/Downloads/spython/Spython/interface/spython_cli.py", line 35, in active_connection
sock.bind((self.ip,self.port))
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 99] Cannot assign requested address
File "/usr/lib/python3.13/threading.py", line 1043, in _bootstrap_inner
self.run()
~~~~~~~~^^
File "/usr/lib/python3.13/threading.py", line 994, in run
self._target(*self._args, **self._kwargs)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kali/Downloads/spython/Spython/interface/spython_cli.py", line 88, in keylog_connection
ksock.bind((self.ip,self.port))
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 99] Cannot assign requested address
File "/usr/lib/python3.13/threading.py", line 1043, in _bootstrap_inner
self.run()
~~~~~~~~^^
File "/usr/lib/python3.13/threading.py", line 994, in run
self._target(*self._args, **self._kwargs)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kali/Downloads/spython/Spython/interface/spython_cli.py", line 121, in screenshot_connection
s_sock.bind((self.ip,self.port))
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 99] Cannot assign requested address
[-]Program ended

#############
The only change that I had to make is to update the Pillow version to 12, since I'm using python 3.13.7.

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