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

[BUG] TheHive, Cortex and MISP instances are not reachable on thephish #39

Open
RandalfLegris opened this issue Jul 13, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@RandalfLegris
Copy link

Describe the bug
Hi i have a bug i installed ThePhish with the github and see that :
" The URLs at which TheHive, Cortex and MISP instances are reachable should also be replaced in the file templates/index.html so that the buttons on the web interface will be able to reach them. To do that, replace the last three href of this portion of code: "

So i did that for also be redirected on the instances by thephish interface but nothing change when i inspect the page. The href are not modify while i restart with docker compose.

I also changed Urls in thehive/application.conf , thephish_conf_files/configuration.json with my server IP address but nothing change.

I have an other issue when i go in /ThePhish/docker/vol/mysql$ and try to connect to the database with this command : sudo mysql -u misp -p misp.
i got this answer sudo: mysql : commande introuvable and i do not know how to resolved it as mysql is in docker.

Work environment
| OS version (server) | Debian |
| OS version (client) | Debian11 Bullseye|
| Python version | |
| Type of email address used | Outlook|
| Mail client type & version | Outlook|
| Browser type & version | Chrome |
| Virtualized Env. | False |
| ThePhish version | |
| TheHive version | |
| Cortex version | |
| MISP version | |
| Installed using Docker and Docker Compose | True |
| Docker Version | Docker version 24.0.4|
| Docker Compose version | Docker Compose version v2.19.1|

@RandalfLegris RandalfLegris added the bug Something isn't working label Jul 13, 2023
@emalderson
Copy link
Owner

Hi, the replacement of the URL should be done on the container and then the container should be restarted only, not re-created, otherwise your modifications would be erased. Moreover, you are not supposed to use the mysql command from command line. The error that you see is related to the fact that mysql is not available on your system. You should use it inside the container.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants