From 9745f89ea45a050805f0a5d9da47bfab8dc91396 Mon Sep 17 00:00:00 2001 From: LinuxSploit <68427058+LinuxSploit@users.noreply.github.com> Date: Wed, 28 Apr 2021 02:48:47 -0400 Subject: [PATCH] Add split file-write --- _gtfobins/split.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/_gtfobins/split.md b/_gtfobins/split.md index 297bdb1..c1f4a72 100644 --- a/_gtfobins/split.md +++ b/_gtfobins/split.md @@ -6,6 +6,12 @@ functions: TF=$(mktemp) split $LFILE $TF cat $TF* + file-write: + - description: Data will be written in the current directory in a file named `xaa` 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: | + TF=$(mktemp) + echo DATA >$TF + split -b999m $TF command: - description: Command execution using an existing or newly created file. code: |