我在使用 Cowrie 时遇到了问题。每次我尝试时bin/cowrie start
,总是会得到:
Join the Cowrie community at: https://www.cowrie.org/slack/
Using activated Python virtual environment "/home/cowrie/cowrie/cowrie-env"
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020.
Cowrie has dropped support for Python 2.7.
Starting cowrie: [twistd --umask=0022 --pidfile=var/run/cowrie.pid --logger cowrie.python.logfile.logger cowrie ]...
bin/cowrie: line 121: exec: twistd: not found
答案1
- 使用您喜欢的文本编辑器打开 bin/cowrie 文件
- 导航至第 121 行(根据错误消息指示)
- 修改 twistd 为 twistd3
- 重新运行 bin/cowrie start
这在 Kali 2022.2 上对我有用