From c634e3898fb852a7952404a97f18eb51b66de8fa Mon Sep 17 00:00:00 2001 From: Andrea Cardaci Date: Tue, 29 May 2018 20:43:54 +0200 Subject: [PATCH] Fix pico execution functions as they require a file to work on --- _gtfobins/pico.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_gtfobins/pico.md b/_gtfobins/pico.md index da9da1a..42656f4 100644 --- a/_gtfobins/pico.md +++ b/_gtfobins/pico.md @@ -7,7 +7,7 @@ functions: TF=$(mktemp) echo "$COMMAND" > $TF chmod +x $TF - pico -s $TF + pico -s $TF /etc/hosts ^T sudo-enabled: - description: After running this exit the editor to see the command output. @@ -16,7 +16,7 @@ functions: TF=$(mktemp) echo "$COMMAND" > $TF chmod +x $TF - sudo pico -s $TF + sudo pico -s $TF /etc/hosts ^T suid-enabled: - description: After running this exit the editor to see the command output. @@ -25,7 +25,7 @@ functions: TF=$(mktemp) echo $'#!/bin/sh -p\n'"$COMMAND" > $TF chmod +x $TF - ./pico -s $TF + ./pico -s $TF /etc/hosts ^T file-read: - code: |