mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
bump cyberchef to 9.55.0, fix glitches
This commit is contained in:
@ -1,7 +1,8 @@
|
||||
FROM node:17.9.0-alpine3.15 as builder
|
||||
#FROM node:17.9.0-alpine3.15 as builder
|
||||
FROM node:18-alpine3.15 as builder
|
||||
#
|
||||
# Prep and build Cyberchef
|
||||
ENV CY_VER=v9.48.0
|
||||
ENV CY_VER=v9.55.0
|
||||
RUN apk -U --no-cache add build-base git python3 && \
|
||||
chown -R node:node /srv && \
|
||||
npm install -g grunt-cli
|
||||
|
@ -10,7 +10,7 @@ RUN apk -U --no-cache add git && \
|
||||
cd /opt/app && \
|
||||
cp /opt/src/package.json . && \
|
||||
cp /opt/src/yarn.lock . && \
|
||||
yarn install && \
|
||||
yarn install --ignore-optional && \
|
||||
cp -R /opt/src/* . && \
|
||||
# We need to set this ENV so we can run Elasticvue in its own location rather than /
|
||||
VUE_APP_PUBLIC_PATH=/elasticvue/ yarn build && \
|
||||
|
16
docker/nginx/dist/conf/tpotweb.conf
vendored
16
docker/nginx/dist/conf/tpotweb.conf
vendored
@ -90,24 +90,26 @@ server {
|
||||
#############################
|
||||
|
||||
location / {
|
||||
index index.html;
|
||||
auth_basic "closed site";
|
||||
auth_basic_user_file /etc/nginx/nginxpasswd;
|
||||
try_files $uri $uri/ /index.html?$args;
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
||||
location ^~ /cyberchef {
|
||||
location /elasticvue {
|
||||
index index.html;
|
||||
alias /var/lib/nginx/html/cyberchef;
|
||||
try_files $uri $uri/ /index.html?$args;
|
||||
alias /var/lib/nginx/html/esvue/;
|
||||
try_files $uri $uri/ /elasticvue/index.html;
|
||||
}
|
||||
|
||||
location ^~ /elasticvue {
|
||||
location /cyberchef {
|
||||
index index.html;
|
||||
alias /var/lib/nginx/html/esvue;
|
||||
try_files $uri $uri/ /index.html?$args;
|
||||
alias /var/lib/nginx/html/cyberchef/;
|
||||
try_files $uri $uri/ /cyberchef/index.html;
|
||||
}
|
||||
|
||||
|
||||
|
||||
#################
|
||||
### Proxied sites
|
||||
#################
|
||||
|
BIN
docker/nginx/dist/html/cyberchef/cyberchef.tgz
vendored
BIN
docker/nginx/dist/html/cyberchef/cyberchef.tgz
vendored
Binary file not shown.
BIN
docker/nginx/dist/html/esvue/esvue.tgz
vendored
BIN
docker/nginx/dist/html/esvue/esvue.tgz
vendored
Binary file not shown.
Reference in New Issue
Block a user