From ddd6c2e304ed40312f77f8a99ae671db1d0e9991 Mon Sep 17 00:00:00 2001 From: Andrea Cardaci Date: Sat, 14 Mar 2020 12:56:21 +0100 Subject: [PATCH] Fix typo in gem --- _gtfobins/gem.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_gtfobins/gem.md b/_gtfobins/gem.md index 5e539da..4bf8736 100644 --- a/_gtfobins/gem.md +++ b/_gtfobins/gem.md @@ -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