From cc281bd18576eab78400a5ed2437333a8ce9952e Mon Sep 17 00:00:00 2001 From: Ionut Nicula Date: Fri, 31 Jan 2025 22:53:42 +0200 Subject: [PATCH] Add 'file write' capability to 'sort' --- _gtfobins/sort.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/_gtfobins/sort.md b/_gtfobins/sort.md index 371c52dc..6ee1be71 100644 --- a/_gtfobins/sort.md +++ b/_gtfobins/sort.md @@ -4,6 +4,10 @@ functions: - code: | LFILE=file_to_read sort -m "$LFILE" + file-write: + - code: | + LFILE=file_to_write + echo DATA | sort -o "$LFILE" suid: - code: | LFILE=file_to_read