From 110bfde6a4ec28eee31eb9f37f54dd1a751a48ce Mon Sep 17 00:00:00 2001 From: "Mr. Robot" Date: Mon, 3 May 2021 22:27:33 +0200 Subject: [PATCH] update strace data source --- data/strace.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/data/strace.json b/data/strace.json index c72d15f..9180c5f 100644 --- a/data/strace.json +++ b/data/strace.json @@ -1,5 +1,11 @@ { "functions": { + "file-write": [ + { + "description": "The data to be written appears amid the syscall log, quoted and with special characters escaped in octal notation. The string representation will be truncated, pick a value big enough. More generally, any binary that executes whatever syscall passing arbitrary data can be used in place of 'strace - [data]'.", + "code": "strace -s 999 -o [file] strace - [data]\n" + } + ], "shell": [ { "code": "strace -o /dev/null /bin/sh" @@ -16,4 +22,4 @@ } ] } -} \ No newline at end of file +}