Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how do i start the kingphisher server #412

Closed
Azuredragon-eazy opened this issue Nov 13, 2019 · 7 comments
Closed

how do i start the kingphisher server #412

Azuredragon-eazy opened this issue Nov 13, 2019 · 7 comments
Assignees
Labels
help me Requests for support stale

Comments

@Azuredragon-eazy
Copy link

am having the following errors whenever i start the king phisher server

sudo ./KingPhisherServer
usage: KingPhisherServer [-h] [-f] [--update-geoip-db] [--verify-config]
[--env-install | --env-update] [--env-verbose] [-v]
[-L {DEBUG,INFO,WARNING,ERROR,FATAL}]
[--logger LOGGER] [--gc-debug-leak]
[--gc-debug-stats]
config_file
KingPhisherServer: error: the following arguments are required: config_file

i try the command for the config_file and i also have the following errors again.

./KingPhisherServer server_config.yml
Loading .env environment variables…
Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/opt/king-phisher/king_phisher/server/main.py", line 42, in
from king_phisher import color
File "/opt/king-phisher/king_phisher/color.py", line 41, in
import termcolor
ModuleNotFoundError: No module named 'termcolor'

@zeroSteiner
Copy link
Collaborator

If you've installed it correctly you start it through systemd using sudo systemctl start king-phisher.

This error however makes it look like the dependencies haven't been installed. Have you run the installer script in tools/install.sh?

@zeroSteiner zeroSteiner added the help me Requests for support label Nov 13, 2019
@Azuredragon-eazy
Copy link
Author

Yea i run the installer script but i skip the client because i already have clients installed.

@zeroSteiner
Copy link
Collaborator

Okay so then something is wrong because those dependencies should have been installed for you.

From the King Phisher directory, run PIPENV_VENV_IN_PROJECT=True sudo -E pipenv --site-packages install, and see if you can then start the server.

@Azuredragon-eazy
Copy link
Author

Azuredragon-eazy commented Nov 20, 2019 via email

@zeroSteiner
Copy link
Collaborator

Well did you run the command I told you to run?

@zeroSteiner zeroSteiner self-assigned this Nov 20, 2019
@stale
Copy link

stale bot commented Dec 11, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Dec 11, 2019
@stale stale bot closed this as completed Dec 18, 2019
@ik-dELTA
Copy link

Well did you run the command I told you to run?

currently facing a similar challenge. after running the cmd it says ''virtual env already exists'' . can't seem to understand how to start and configure the server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help me Requests for support stale
Projects
None yet
Development

No branches or pull requests

3 participants