Adds script to start cyberchef
This commit is contained in:
parent
eb81862ab5
commit
3bc6eceff8
1 changed files with 15 additions and 0 deletions
15
bin/.bin/cyberchef
Executable file
15
bin/.bin/cyberchef
Executable file
|
@ -0,0 +1,15 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
export SUDO_ASKPASS='/usr/lib/seahorse/ssh-askpass'
|
||||||
|
|
||||||
|
# Make sure the docker daemon is running
|
||||||
|
if ! systemctl status --no-pager docker.service > /dev/null; then
|
||||||
|
sudo -A systemctl start docker.service
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Make sure the container is running
|
||||||
|
if ! docker container ls | grep -q mpepping/cyberchef; then
|
||||||
|
sudo -A systemctl start cyberchef
|
||||||
|
fi
|
||||||
|
|
||||||
|
firefox-developer-edition localhost:8000
|
Loading…
Add table
Add a link
Reference in a new issue