mktemp
The mktemp binary located in "usr/bin/mktemp" can generate unique directory or file names and has historically been used to generate unique payloads.
- Path
- /usr/bin/mktemp
- Author
- Tim Peck (@B0bby_Tablez)
- Created
- 2023-06-28
Example Use Cases 2
Generate payload directory (Shlayer) #
The following command can be used to generate a random directory name for staging payloads
export tmpDir="$(mktemp -d /tmp/XXXXXXXXXXXX)" Detections
- No detections at time of publishing