GTFOBins.github.io/_gtfobins/screen.md

17 lines
494 B
Markdown
Raw Normal View History

2019-03-12 18:41:10 +01:00
---
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`.
2019-03-12 18:41:10 +01:00
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`.
2019-03-12 18:41:10 +01:00
code: |
LFILE=file_to_write
screen -L $LFILE echo DATA
2019-03-12 18:41:10 +01:00
sudo:
- code: sudo screen
---