mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Reword screen and use echo instead of tail with user interaction
Based on an example provided by #76.
This commit is contained in:
parent
15a2bbafe5
commit
740fa3a44f
@ -3,18 +3,14 @@ functions:
|
|||||||
shell:
|
shell:
|
||||||
- code: screen
|
- code: screen
|
||||||
file-write:
|
file-write:
|
||||||
- description: This has been found working on screen version 4.06.02. The file has a trailing `^C` character.
|
- description: This works on screen version 4.06.02. Data is appended to the file and `\n` is converted to `\r\n`.
|
||||||
code: |
|
code: |
|
||||||
LFILE=file_to_write
|
LFILE=file_to_write
|
||||||
screen -L -Logfile $LFILE tail -f /dev/null
|
screen -L -Logfile $LFILE echo DATA
|
||||||
DATA
|
- description: This works on screen version 4.05.00. Data is appended to the file and `\n` is converted to `\r\n`.
|
||||||
^C
|
|
||||||
- description: This has been found working on screen version 4.05.00. The file has a trailing `^C` character.
|
|
||||||
code: |
|
code: |
|
||||||
LFILE=file_to_write
|
LFILE=file_to_write
|
||||||
screen -L $LFILE tail -f /dev/null
|
screen -L $LFILE echo DATA
|
||||||
DATA
|
|
||||||
^C
|
|
||||||
sudo:
|
sudo:
|
||||||
- code: sudo screen
|
- code: sudo screen
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user