Skip to content

Commit

Permalink
Merge pull request #235 from da667/with-cyberchef-support
Browse files Browse the repository at this point in the history
Add cyberchef container, nginx location, and link in layout.html
  • Loading branch information
rkoumis authored Jan 9, 2025
2 parents 7a6a351 + c13959a commit 1c27293
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/templates/dalton/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
<li><a href="/dalton/sensor" id='sensor-toggle'><i class="icon-hdd"></i>Sensors&nbsp;</a></li>
{% endif %}
<li><a href="/flowsynth/" id='flowsynth-toggle'><i class="icon-wrench"></i>Flowsynth</a></li>
<li><a href="/cyberchef" id='cyberchef-toggle'><i class="icon-book"></i>Cyberchef</a></li>
{% if (request.url_rule|string).endswith("/about") %}
<li class="active"><a href="/dalton/about" id="about-toggle"><i class="icon-info-sign"></i>About</a></li>
{% else %}
Expand Down
10 changes: 10 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -448,3 +448,13 @@ services:
- ./rulesets/zeek:/opt/dalton-agent/zeek_scripts:ro
restart: always

###########################
## Cyberchef Integration ##
###########################

# Official cyberchef docker image, from github container repo (ghcr)
cyberchef:
image: ghcr.io/gchq/cyberchef:latest
container_name: cyberchef_current
hostname: cyberchef_current
restart: always
8 changes: 8 additions & 0 deletions nginx-conf/conf.d/dalton.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
location /cyberchef/ {
resolver 127.0.0.11;
proxy_pass http://cyberchef_current/;
}
}

server {
Expand All @@ -39,5 +43,9 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
location /cyberchef/ {
resolver 127.0.0.11;
proxy_pass http://cyberchef_current/;
}
}

0 comments on commit 1c27293

Please sign in to comment.