71 lines
3.6 KiB
JSON
71 lines
3.6 KiB
JSON
{
|
|
"nt": {
|
|
"whoami": ["whoami"],
|
|
"ls": ["cmd.exe", "/c", "dir"],
|
|
"echo": ["cmd.exe", "/c", "echo", "The prototype executed the echo command successfully on Windows!"],
|
|
"reboot": ["cmd.exe", "/c", "echo", "SIMULATED WINDOWS REBOOT"],
|
|
"systeminfo": ["systeminfo"],
|
|
"ipconfig": ["ipconfig"],
|
|
"date": ["cmd.exe", "/c", "date", "/t"],
|
|
"check_space": ["powershell.exe", "-Command", "Get-PSDrive -PSProvider FileSystem"],
|
|
"check_takeleap": ["python", "client_agent_prototype.py", "--check-takeleap"],
|
|
"list_takeleap": ["python", "client_agent_prototype.py", "--list-takeleap"],
|
|
"list_takeleap_size": ["python", "client_agent_prototype.py", "--list-takeleap-size"],
|
|
"list_takeleap_shift_size": ["python", "client_agent_prototype.py", "--list-takeleap-sub-size", "SHIFT"],
|
|
"list_takeleap_shift_files": ["python", "client_agent_prototype.py", "--list-takeleap-sub-files", "SHIFT"],
|
|
"list_takeleap_errors_size": ["python", "client_agent_prototype.py", "--list-takeleap-sub-size", "Error_Videos"],
|
|
"list_takeleap_errors_files": ["python", "client_agent_prototype.py", "--list-takeleap-sub-files", "Error_Videos"],
|
|
"list_takeleap_upload_size": ["python", "client_agent_prototype.py", "--list-takeleap-sub-size", "UPLOAD_FOLDER"],
|
|
"list_takeleap_upload_files": ["python", "client_agent_prototype.py", "--list-takeleap-sub-files", "UPLOAD_FOLDER"]
|
|
},
|
|
"posix": {
|
|
"whoami": ["whoami"],
|
|
"ls": ["ls", "-la"],
|
|
"echo": ["echo", "The prototype executed the echo command successfully on POSIX/WSL!"],
|
|
"pwd": ["pwd"],
|
|
"date": ["date"],
|
|
"time": ["date", "+%T"],
|
|
"systeminfo": ["uname", "-a"],
|
|
"ipconfig": ["ip", "addr"],
|
|
"check_space": ["df", "-h"],
|
|
"memory": ["free", "-h"],
|
|
"ps": ["ps", "aux"],
|
|
"kill_python": ["pkill", "-9", "python"],
|
|
"ping_google": ["ping", "-c", "4", "google.com"],
|
|
"env": ["env"],
|
|
"hostname": ["hostname"],
|
|
"reboot": ["sudo", "reboot"],
|
|
"restart_mysql": ["sudo", "systemctl", "restart", "mysql"],
|
|
"mysql_status": ["sudo", "systemctl", "status", "mysql"],
|
|
"repair_mysql": [
|
|
"sudo",
|
|
"mysqlcheck",
|
|
"--defaults-file=/root/.my.cnf",
|
|
"--auto-repair",
|
|
"--optimize",
|
|
"Test_seekright",
|
|
"tbl_site_anomaly"
|
|
],
|
|
"repair_mysql_db": [
|
|
"sudo",
|
|
"mysqlcheck",
|
|
"--defaults-file=/root/.my.cnf",
|
|
"--auto-repair",
|
|
"--optimize",
|
|
"Test_seekright"
|
|
],
|
|
"storage_devices": ["lsblk"],
|
|
"mounted_disks": ["df", "-hT"],
|
|
"netstat": ["ss", "-tulnp"],
|
|
"check_takeleap": ["python3", "/opt/seekright-agent/client_agent_prototype.py", "--check-takeleap"],
|
|
"list_takeleap": ["python3", "/opt/seekright-agent/client_agent_prototype.py", "--list-takeleap"],
|
|
"list_takeleap_size": ["python3", "/opt/seekright-agent/client_agent_prototype.py", "--list-takeleap-size"],
|
|
"list_takeleap_shift_size": ["python3", "/opt/seekright-agent/client_agent_prototype.py", "--list-takeleap-sub-size", "SHIFT"],
|
|
"list_takeleap_shift_files": ["python3", "/opt/seekright-agent/client_agent_prototype.py", "--list-takeleap-sub-files", "SHIFT"],
|
|
"list_takeleap_errors_size": ["python3", "/opt/seekright-agent/client_agent_prototype.py", "--list-takeleap-sub-size", "Error_Videos"],
|
|
"list_takeleap_errors_files": ["python3", "/opt/seekright-agent/client_agent_prototype.py", "--list-takeleap-sub-files", "Error_Videos"],
|
|
"list_takeleap_upload_size": ["python3", "/opt/seekright-agent/client_agent_prototype.py", "--list-takeleap-sub-size", "UPLOAD_FOLDER"],
|
|
"list_takeleap_upload_files": ["python3", "/opt/seekright-agent/client_agent_prototype.py", "--list-takeleap-sub-files", "UPLOAD_FOLDER"]
|
|
}
|
|
}
|