mirror of
https://github.com/Ne0nd0g/merlin
synced 2026-06-08 11:59:20 +00:00
24 lines
951 B
JSON
24 lines
951 B
JSON
{
|
|
"base": {
|
|
"name": "PreventShellHistory",
|
|
"type": "standard",
|
|
"author": ["Tony M Lambert (@ForensicITGuy)"],
|
|
"credits": [],
|
|
"path": ["linux", "x64", "bash", "evasion", "PreventShellHistory.json"],
|
|
"platform": "linux",
|
|
"arch": "x64",
|
|
"lang": "bash",
|
|
"privilege": false,
|
|
"notes": "",
|
|
"remote": "",
|
|
"local": [],
|
|
"options": [
|
|
{"name": "HistoryFile", "value": "/dev/null", "required": true, "flag": "", "description": "The path of the desired history file."},
|
|
{"name": "HistorySize", "value": "0", "required": true, "flag": "", "description": "The allowed size of the desired history file."}
|
|
],
|
|
"description": "Manipulates the HISTFILE and HISTFILESIZE variables to prevent saving shell history.",
|
|
"commands": [
|
|
"/bin/sh", "-c", "'echo \"HISTFILE=/dev/null\" >> ~/.bashrc && echo \"HISTFILESIZE=0\" >> ~/.bashrc'"
|
|
]
|
|
}
|
|
} |