add data for tee
parent
197b720be0
commit
875aff9b67
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue