diff --git a/_gtfobins/at.md b/_gtfobins/at.md new file mode 100644 index 0000000..958cb6e --- /dev/null +++ b/_gtfobins/at.md @@ -0,0 +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 +---