diff --git a/data/tee.json b/data/tee.json new file mode 100644 index 0000000..55302a1 --- /dev/null +++ b/data/tee.json @@ -0,0 +1,20 @@ +{ + "description": "It can only append data if the destination exists.", + "functions": { + "file-write": [ + { + "code": "echo DATA | ./tee -a [file]\n" + } + ], + "sudo": [ + { + "code": "echo DATA | sudo tee -a [file]\n" + } + ], + "suid": [ + { + "code": "echo DATA | ./tee -a [file]\n" + } + ] + } +} \ No newline at end of file