mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2024-09-07 20:50:38 +02:00
Add split file-write GNU variant
This commit is contained in:
parent
afd946b0c8
commit
77b3b0a06f
@ -12,6 +12,12 @@ functions:
|
||||
TF=$(mktemp)
|
||||
echo DATA >$TF
|
||||
split -b999m $TF
|
||||
- description: GNU version only. Data will be written in the current directory in a file named `xaa.xxx` by default. The input file will be split in multiple smaller files unless the `-b` option is used, pick a value in MB big enough.
|
||||
code: |
|
||||
EXT=.xxx
|
||||
TF=$(mktemp)
|
||||
echo DATA >$TF
|
||||
split -b999m --additional-suffix $EXTENSION $TF
|
||||
command:
|
||||
- description: Command execution using an existing or newly created file.
|
||||
code: |
|
||||
|
Loading…
Reference in New Issue
Block a user