initial commit
This commit is contained in:
52
commands.json
Normal file
52
commands.json
Normal file
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"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"]
|
||||
},
|
||||
"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"]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user