From 6b17fc2310a4fe6374fa9cca96e63b80077c6800 Mon Sep 17 00:00:00 2001 From: Caleb Stewart Date: Fri, 15 May 2020 19:39:26 -0400 Subject: [PATCH] Fixed awk file-write payloads --- data/gtfobins.json | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/data/gtfobins.json b/data/gtfobins.json index c78da58..184b2ea 100644 --- a/data/gtfobins.json +++ b/data/gtfobins.json @@ -204,8 +204,9 @@ "stream": "print", "args": [ "-v", "LFILE={lfile}", - "'BEGIN {{ printf \"\" > LFILE; while ((getline) > 0){{ print >> LFILE }}'" - ] + "'BEGIN {{ printf \"\" > LFILE; while ((getline) > 0){{ print >> LFILE }} }}'" + ], + "exit": "{ctrl_d}" } ], //------------------------------------------------------------------- @@ -230,7 +231,7 @@ "stream": "print", "args": [ "-v", "LFILE={lfile}", - "'BEGIN {{ printf \"\" > LFILE; while (getline > 0){{ print >> LFILE; }}}}'" + "'BEGIN {{ printf \"\" > LFILE; while (getline > 0){{ print >> LFILE; }} }}'" ], "exit": "{ctrl_d}" } @@ -544,4 +545,4 @@ } ] -} \ No newline at end of file +}