WithSecureLabs / snake

snake - a malware storage zoo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issues with Web UI

iaeubanks opened this issue · comments

Hello

I think that I have made some errors when it came to the installation of Snake on my Ubuntu 20.04 Desktop Machine. I have followed all of the instructions provided for the installation and startup of snake, snake-pit, and snake-skin. However, when I try to access the webui page, I get the following message:
image

I have also checked the :6379 page and get this message:
image

If I could get some help regarding on how to start to fix these problems this would be greatly appreciated.

Hi,

Which type of install did you do? The :6379 just means that redis is running.

If you followed the Production steps then you should be able to check the state of the following services:

systemctl status snake-pit
systemctl status snake
systemctl status snake-skin

If the above are running then you should be able to hit the UI on http://127.0.0.1:8000 and the API on http://127.0.0.1:5000

As the instructions on the README are for Ubuntu 17.10 it might be that the install never successfully finished. If that is the case I will test with the latest Ubuntu LTS and update the README.

The ubuntu version is most likely the problem, I was using 20.04. I will try again and use 17.10 this time to see if that makes it run smoothly. I will test my setup and then try again using 17.10

I tested all of the statuses and each of the services are reading active and running. The only thing is that the snake.pid appears to be referencing a path below legacy and is recommending an update. The UI is still not able to connect and the API gives this message.
image

Any further recommendations on my 20.04 machine or do you recommend that I use a 17.10 machine

Yep so that above means the API is up and running. What error are you getting for the UI? It should all work on 20.04, i'll check it out this evening just to make sure nothing is playing up on a clean install.

image

This is what I see whenever I try to connect to the 8000 host.

I also checked my hosts to see if there is a different address for my machine, and this is what I have.
image

Right, so the above means that the UI is not running, what output are you getting for systemctl status snake-skin?

image
image
This is what I see when I run the command.

I have a feeling I have been an idiot, can you hit it on http://localhost:3000?

Yes I can. Thank you very much

I am guessing there was a typo or just something not documented?

Yeah that is a typo, i'll get it fixed.

Of course, thank you so much for your help!