From 38a5860d4833a05c02cabbe039688ada0f5b29a0 Mon Sep 17 00:00:00 2001 From: Andrea Cardaci Date: Fri, 24 Aug 2018 12:32:06 +0200 Subject: [PATCH] Add file-write to less --- _gtfobins/less.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/_gtfobins/less.md b/_gtfobins/less.md index 4ee0e8c..5206322 100644 --- a/_gtfobins/less.md +++ b/_gtfobins/less.md @@ -9,6 +9,11 @@ functions: v file-read: - code: less file_to_read + file-write: + - code: | + echo DATA | less + sfile_to_write + q sudo-enabled: - code: | sudo less /etc/profile