qeeqbox/honeypots

Deprecation warning for `from cgi import FieldStorage`

t3chn0m4g3 opened this issue · 1 comments

Currently working on T-Pot 24.x and since I am building the docker image from scratch I noticed a deprecation warning:

honeypots  | /opt/honeypots/honeypots/http_server.py:16: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
honeypots  |   from cgi import FieldStorage
honeypots  | /opt/honeypots/honeypots/https_server.py:17: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
honeypots  |   from cgi import FieldStorage

I am guessing the warning was introduced with Py3.11, so this just as a heads up.

Sorry, built against the wrong commit.