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 +}