mhaskar / Octopus

Open source pre-operation C2 server based on python and powershell
GNU General Public License v3.0
733 stars 155 forks source link

Listener issues #21

Closed etc3p closed 4 years ago

etc3p commented 4 years ago

After several hours of the server listening for new connections, it is not possible to initiate new communication with the C2, the listener must be restarted

mhaskar commented 4 years ago

Thank you for submitting the issue @etc3p, we are aware of it and we will release a fix for it soon.

uvzz commented 3 years ago

@etc3p @mhaskar you can fix it using a WSGI server such as Tornado or Genvent to run the Flask app, e.g.

from gevent.pywsgi import WSGIServer http_server = WSGIServer(('0.0.0.0', port), app, log=None, keyfile=key_path, certfile=cert_path) http_server.serve_forever()