rsmusllp / king-phisher

Phishing Campaign Toolkit
BSD 3-Clause "New" or "Revised" License
2.27k stars 540 forks source link

Cannot start KingPhisher #505

Open dellus1on opened 1 year ago

dellus1on commented 1 year ago

Issue Description

Error when starting KingPhisher

Reproduction Steps

  1. Start King Phisher
  2. Do something to trigger the crash

Environment Details

sudo service king-phisher start Job for king-phisher.service failed because the control process exited with error code. See "systemctl status king-phisher.service" and "journalctl -xe" for details.

Error Details / Stack Trace

systemctl status king-phisher.service × king-phisher.service - King Phisher Server Loaded: loaded (/lib/systemd/system/king-phisher.service; enabled; preset: disabled) Active: failed (Result: exit-code) since Tue 2023-09-26 17:18:35 EDT; 6min ago Process: 17188 ExecStart=/usr/bin/python3 /root/Downloads/king-phisher/KingPhisherServer /root/Downloads/king-phisher/server_config.yml (code=exited, status=1/FAILURE) CPU: 677ms

Sep 26 17:18:35 kali python3[17188]: File "", line 198, in _run_module_as_main Sep 26 17:18:35 kali python3[17188]: File "", line 88, in _run_code Sep 26 17:18:35 kali python3[17188]: File "/root/Downloads/king-phisher/king_phisher/server/main.py", line 42, in Sep 26 17:18:35 kali python3[17188]: from king_phisher import color Sep 26 17:18:35 kali python3[17188]: File "/root/Downloads/king-phisher/king_phisher/color.py", line 41, in Sep 26 17:18:35 kali python3[17188]: import termcolor Sep 26 17:18:35 kali python3[17188]: ModuleNotFoundError: No module named 'termcolor' Sep 26 17:18:35 kali systemd[1]: king-phisher.service: Control process exited, code=exited, status=1/FAILURE Sep 26 17:18:35 kali systemd[1]: king-phisher.service: Failed with result 'exit-code'. Sep 26 17:18:35 kali systemd[1]: Failed to start King Phisher Server.

I’m just new to Kali Linux and don’t understand everything, but other utilities downloaded without problems, but this one is acting up. I see that there is an error asking me to download termcolor, but when I download it, another error pops up asking me to download another library