You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was able to find the issue. The script dies with following traceback:
Traceback (most recent call last):
File "/root/ve/honeypot/bin/honeypots", line 5, in <module>
from honeypots.__main__ import main_logic
File "/root/ve/honeypot/lib64/python3.6/site-packages/honeypots/__init__.py", line 19, in <module>
from .elastic_server import QElasticServer
File "/root/ve/honeypot/lib64/python3.6/site-packages/honeypots/elastic_server.py", line 20, in <module>
from http.server import SimpleHTTPRequestHandler, ThreadingHTTPServer
ImportError: cannot import name 'ThreadingHTTPServer'
ThreadingHTTPServer is Python 3.7 feature, so honeypots won't work on Python < 3.7; I guess package metadata should be updated to indicate this (it currently states that Python >= 3.5 is supported).
Another issue is that the traceback above only visible in debugger (output is written to /dev/null)
I'm having what seems to be the same problem as in #24 - running command "honeypots" produces no output and nothing happens.
Some system info:
It's a CentOS 7 server.
What can I do to troubleshoot it further?
The text was updated successfully, but these errors were encountered: