mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-01 20:42:11 +00:00
add attack map to web gui
This commit is contained in:
parent
656c99446e
commit
fc7c748b20
2 changed files with 19 additions and 15 deletions
30
docker/nginx/dist/conf/tpotweb.conf
vendored
30
docker/nginx/dist/conf/tpotweb.conf
vendored
|
@ -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 {
|
||||
|
|
4
docker/nginx/dist/html/config.js
vendored
4
docker/nginx/dist/html/config.js
vendored
|
@ -54,6 +54,10 @@ const CONFIG = {
|
|||
},
|
||||
],
|
||||
secondList: [
|
||||
{
|
||||
name: 'Attack Map',
|
||||
link: '/map/',
|
||||
},
|
||||
{
|
||||
name: 'SecurityMeter',
|
||||
link: 'https://sicherheitstacho.eu',
|
||||
|
|
Loading…
Reference in a new issue