From 73b18859d5cb452fff078afe4f7cd5321f07f24c Mon Sep 17 00:00:00 2001 From: Emilio Date: Tue, 12 Mar 2019 17:41:10 +0000 Subject: [PATCH] Add screen --- _gtfobins/screen.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 _gtfobins/screen.md diff --git a/_gtfobins/screen.md b/_gtfobins/screen.md new file mode 100644 index 0000000..f283ad5 --- /dev/null +++ b/_gtfobins/screen.md @@ -0,0 +1,20 @@ +--- +functions: + shell: + - code: screen + file-write: + - description: This has been found working on screen version 4.06.02. The file has a trailing `^C` character. + code: | + LFILE=file_to_write + screen -L -Logfile $LFILE tail -f /dev/null + DATA + ^C + - description: This has been found working on screen version 4.05.00. The file has a trailing `^C` character. + code: | + LFILE=file_to_write + screen -L $LFILE tail -f /dev/null + DATA + ^C + sudo: + - code: sudo screen +---