-
Notifications
You must be signed in to change notification settings - Fork 0
/
routes.php
executable file
·40 lines (30 loc) · 1.21 KB
/
routes.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php
use App\Controllers\TaskManagerController;
return [
"index" => "HomeController@index",
// Tasks
"runTask" => "TaskController@runTask",
"checkTask" => "TaskController@checkTask",
// Hostname Settings
"get_hostname" => "HostnameController@get",
"set_hostname" => "HostnameController@set",
// Systeminfo
"get_system_info" => "SystemInfoController@get",
"install_lshw" => "SystemInfoController@install",
// Runscript
"run_script" => "RunScriptController@run",
// TaskView
"example_task" => "TaskViewController@run",
// Task Manager Routes
"task_manager_list" => "TaskManagerController@getList",
"get_file_location" => "TaskManagerController@getFileLocation",
"get_operating_arguments" => "TaskManagerController@getOperatingArguments",
"get_service_status" => "TaskManagerController@getServiceStatus",
"get_process_tree" => "TaskManagerController@getProcessTree",
"get_end_process" => "TaskManagerController@getEndProcess",
"get_terminate_all_process" => "TaskManagerController@getTerminateAllProcess",
//ViewLists Routes
"PHPViewLists" => "ViewListsController@listele",
//Whoami Routes
"PHPWhoami" => "WhoamiController@bul"
];