From 866ca2e4041364cb22f1a3fd9dc7609206d998f5 Mon Sep 17 00:00:00 2001 From: Andrea Cardaci Date: Mon, 20 Aug 2018 14:24:15 +0200 Subject: [PATCH] Fix other editors file write --- _gtfobins/emacs.md | 1 + _gtfobins/nano.md | 1 + _gtfobins/pico.md | 1 + _gtfobins/vi.md | 2 ++ _gtfobins/vim.md | 2 ++ 5 files changed, 7 insertions(+) diff --git a/_gtfobins/emacs.md b/_gtfobins/emacs.md index 36fbe6b..542f883 100644 --- a/_gtfobins/emacs.md +++ b/_gtfobins/emacs.md @@ -5,6 +5,7 @@ functions: file-write: - code: | emacs file_to_write + data C-x C-s file-read: - code: emacs file_to_read diff --git a/_gtfobins/nano.md b/_gtfobins/nano.md index 6e0d586..2bb21b9 100644 --- a/_gtfobins/nano.md +++ b/_gtfobins/nano.md @@ -12,6 +12,7 @@ functions: file-write: - code: | nano file_to_write + data ^O file-read: - code: nano file_to_read diff --git a/_gtfobins/pico.md b/_gtfobins/pico.md index b9562e8..c5c5c0b 100644 --- a/_gtfobins/pico.md +++ b/_gtfobins/pico.md @@ -12,6 +12,7 @@ functions: file-write: - code: | pico file_to_write + data ^O file-read: - code: pico file_to_read diff --git a/_gtfobins/vi.md b/_gtfobins/vi.md index d5c6a77..cdb505e 100644 --- a/_gtfobins/vi.md +++ b/_gtfobins/vi.md @@ -9,6 +9,8 @@ functions: file-write: - code: | vi file_to_write + idata + ^[ w file-read: - code: vi file_to_read diff --git a/_gtfobins/vim.md b/_gtfobins/vim.md index fb45d0b..dbc0825 100644 --- a/_gtfobins/vim.md +++ b/_gtfobins/vim.md @@ -9,6 +9,8 @@ functions: file-write: - code: | vim file_to_write + idata + ^[ w file-read: - code: vim file_to_read