mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-26 14:59:44 +01:00
740fa3a44f
Based on an example provided by #76.
17 lines
494 B
Markdown
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
|
|
---
|