I hereby claim:
- I am dejanzelic on github.
- I am dejandayoff (https://keybase.io/dejandayoff) on keybase.
- I have a public key whose fingerprint is C621 B958 5AC2 51E7 C9D2 6C64 6359 A9BB E501 6017
To claim this, I am signing this object:
function gen-mp-ssh-config { | |
echo 'Host mp-* | |
User multipass | |
' | |
multipass ls --format csv | grep Running | while read vm | |
do | |
name=$(echo $vm | awk -F , '{ print $1 }') | |
ip=$(echo $vm | awk -F , '{ print $3 }') | |
echo "Host mp-$name | |
Hostname $ip |
version: "3.5" | |
services: | |
snapcast: | |
image: dejandayoff/snapserver:dev | |
container_name: snapserver | |
restart: always | |
network_mode: host | |
volumes: | |
- dbus:/var/run/dbus | |
- fifo:/tmp/ |
#Run any container in the background to be exploited. This can be any image | |
docker run -t -d --name container_1 ubuntu:latest bash | |
# Run the container that will have docker.sock exposed | |
docker run -it -v /var/run/docker.sock:/var/run/docker.sock \ | |
--name container_2 ubuntu:latest bash | |
# Install the docker tools (skip this step if you are using the "curl" method instead.) | |
apt-get update | |
apt-get install docker.io -y |
I hereby claim:
To claim this, I am signing this object: