1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-16 17:01:38 +02:00
GTFOBins.github.io/_gtfobins/screen.md
Andrea Cardaci 740fa3a44f Reword screen and use echo instead of tail with user interaction
Based on an example provided by #76.
2019-12-04 02:25:49 +01:00

17 lines
494 B
Markdown

---
functions:
shell:
- code: screen
file-write:
- description: This works on screen version 4.06.02. Data is appended to the file and `\n` is converted to `\r\n`.
code: |
LFILE=file_to_write
screen -L -Logfile $LFILE echo DATA
- description: This works on screen version 4.05.00. Data is appended to the file and `\n` is converted to `\r\n`.
code: |
LFILE=file_to_write
screen -L $LFILE echo DATA
sudo:
- code: sudo screen
---