Linux

Kubernetes Multi-Juicer

If you ever wanna run a Multiplayer OWASP Juice Shop CTF on your own, here are some Notes and Info for bloody beginners References https://github.com/iteratec/multi-juicer/ https://www.digitalocean.com/ https://kubernetes.io/de/docs/concepts/overview/what-is-kubernetes/ Prerequisite you’ve got a Digital Ocean Account (or some other Cloud Provider) a spare domain and set the NS of DigitalOcean Digital Ocean CMD Line Tools installed and configured helm tools (kubernetes package manager -> brew install helm) some budget (~2 CHF/Day) 30min for Setup btw.

Docker on OSX

Some Notes Based on this Video: https://www.youtube.com/watch?v=bhBSlnQcq2k Download Docker https://docs.docker.com/get-docker/ Download Nginx Image https://hub.docker.com/_/nginx docker pull nginx Run Image docker run nginx docker run nginx:latest docker run -d nginx:latest docker run -d -p 80 nginx:latest docker run -d -p 8080:80 nginx:latest docker run -d -p 3000:80 -p 8080:80 nginx:latest Access Webserver mbp:~ stoege$ docker run -d -p 8080:80 nginx:latest 5c7a945caa59f14e35932f3d4470c9b9afc0307dac34e01947d41adbcdfda091 mbp:~ stoege$ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 5c7a945caa59 nginx:latest "/docker-entrypoint.

Mint Vlan

How to configure a Vlan on Linux Mint ? Wiki Install vlan sudo apt-get install vlan Configuration root@mint:~# sudo modprobe 8021q root@mint:~# ifconfig ens19: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.10.18.83 netmask 255.255.255.0 broadcast 10.10.18.255 inet6 2001:db8:1:2:9506:5fcd:1c61:1279 prefixlen 64 scopeid 0x0<global> inet6 2001:db8:1:2:a9:c50b:1348:1ec6 prefixlen 64 scopeid 0x0<global> inet6 2001:db8:1:2:e064:b0ec:a08f:7fd8 prefixlen 64 scopeid 0x0<global> inet6 2001:db8:1:2:a015:7ec:eef0:1a75 prefixlen 64 scopeid 0x0<global> inet6 2001:db8:1:2:a028:b890:ffe8:5231 prefixlen 64 scopeid 0x0<global> inet6 2001:db8:1:2:c80:addb:1273:95d5 prefixlen 64 scopeid 0x0<global> inet6 fe80::9cc2:b22d:cc15:2946 prefixlen 64 scopeid 0x20<link> ether 4e:e5:10:00:06:83 txqueuelen 1000 (Ethernet) RX packets 181 bytes 58337 (58.

Doas

doas, an alternative to sudo Everybody knows sudo … right ? but the openbsd guys hacked a small and secure replacement called doas … simple, secure and clever here a good and quick tutorial An introduction on Vultr, the Source Code on Github and the Man Page Installation OpenBSD On OpenBSD, it’s already in the Base System and no need to install anything. Installation Linux On Linux, for Example, you have to add the Package

Keepalive

Little Keep Alive … mit freundlicher genehmigung von Kumpel Marc :) keepalive.sh #!/usr/bin/env bash FILE="$HOME/scripts/excuses" # Linux or BSD ? nf points to the right binary which numfmt > /dev/null 2>&1 && nf=$(which numfmt) || nf=$(which gnumfmt); # Linux or BSD ? gs points to the right binary which shuf > /dev/null 2>&1 && gs=$(which shuf) || gs=$(which gshuf); if [ ! -e "$FILE" ]; then echo "" echo "$FILE does not exist" echo "##############################################" command -v curl >/dev/null 2>&1 || { echo >&2 "Holy cow!

how to move on the cli

Any Comments ? sha256: 92b20e0a803b2e3c9a987fe89c259ac9bd069b22732d93f80d0626fae15e733b