add data source for shuf

master
t0thkr1s 4 years ago
parent 71318bb402
commit 1cf5c7a65c

@ -1,17 +1,27 @@
{ {
"description": "The read file content is corrupted by adding a newline.",
"functions": { "functions": {
"file-read": [
{
"description": "The read file content is corrupted by randomizing the order of NUL terminated strings.",
"code": "shuf -z \"[file]\"\n"
}
],
"file-write": [ "file-write": [
{ {
"code": "shuf -e DATA -o [file]\n" "description": "The written file content is corrupted by adding a newline.",
"code": "shuf -e DATA -o \"[file]\"\n"
} }
], ],
"suid": [ "suid": [
{ {
"code": "./shuf -e DATA -o [file]\nsudo:\n" "description": "The written file content is corrupted by adding a newline.",
}, "code": "./shuf -e DATA -o \"[file]\"\n"
}
],
"sudo": [
{ {
"code": "sudo shuf -e DATA -o [file]\n" "description": "The written file content is corrupted by adding a newline.",
"code": "sudo shuf -e DATA -o \"[file]\"\n"
} }
] ]
} }

Loading…
Cancel
Save