add attack map to web gui

This commit is contained in:
t3chn0m4g3 2022-02-20 23:11:24 +00:00
parent 656c99446e
commit fc7c748b20
2 changed files with 19 additions and 15 deletions

View file

@ -125,21 +125,21 @@ server {
}
### Map
# location /map/ {
# proxy_pass http://127.0.0.1:64299/;
# rewrite /map/(.*)$ /$1 break;
# proxy_http_version 1.1;
# proxy_set_header Upgrade $http_upgrade;
# proxy_set_header Connection "Upgrade";
# proxy_set_header Host $host;
# }
# location /websocket {
# proxy_pass http://127.0.0.1:64299;
# proxy_http_version 1.1;
# proxy_set_header Upgrade $http_upgrade;
# proxy_set_header Connection "Upgrade";
# proxy_set_header Host $host;
# }
location /map/ {
proxy_pass http://127.0.0.1:64299/;
rewrite /map/(.*)$ /$1 break;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $host;
}
location /websocket {
proxy_pass http://127.0.0.1:64299;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $host;
}
### spiderfoot
location /spiderfoot {

View file

@ -54,6 +54,10 @@ const CONFIG = {
},
],
secondList: [
{
name: 'Attack Map',
link: '/map/',
},
{
name: 'SecurityMeter',
link: 'https://sicherheitstacho.eu',