etc3p opened this issue 4 years ago · 2 comments
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
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()