mhaskar / Octopus

Open source pre-operation C2 server based on python and powershell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Listener issues

etc3p opened this issue · comments

commented

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

commented

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

@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()