mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 21:12: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
|
### Map
|
||||||
# location /map/ {
|
location /map/ {
|
||||||
# proxy_pass http://127.0.0.1:64299/;
|
proxy_pass http://127.0.0.1:64299/;
|
||||||
# rewrite /map/(.*)$ /$1 break;
|
rewrite /map/(.*)$ /$1 break;
|
||||||
# proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
# proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
# proxy_set_header Connection "Upgrade";
|
proxy_set_header Connection "Upgrade";
|
||||||
# proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
# }
|
}
|
||||||
# location /websocket {
|
location /websocket {
|
||||||
# proxy_pass http://127.0.0.1:64299;
|
proxy_pass http://127.0.0.1:64299;
|
||||||
# proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
# proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
# proxy_set_header Connection "Upgrade";
|
proxy_set_header Connection "Upgrade";
|
||||||
# proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
# }
|
}
|
||||||
|
|
||||||
### spiderfoot
|
### spiderfoot
|
||||||
location /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: [
|
secondList: [
|
||||||
|
{
|
||||||
|
name: 'Attack Map',
|
||||||
|
link: '/map/',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: 'SecurityMeter',
|
name: 'SecurityMeter',
|
||||||
link: 'https://sicherheitstacho.eu',
|
link: 'https://sicherheitstacho.eu',
|
||||||
|
|
Loading…
Reference in a new issue