mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* Security fix: unauthorized access Affects nginx users: Moved php files outside of public html directory (Apache was protected by .htaccess) Affects all users: Some files did not check for authentication and could disclose some info. Better checks before including files from user input * git mv html/includes/ includes/html git mv html/pages/ includes/html/
24 lines
516 B
PHP
24 lines
516 B
PHP
<?php
|
|
|
|
require 'memcached.inc.php';
|
|
require 'includes/html/graphs/common.inc.php';
|
|
|
|
$nototal = 1;
|
|
|
|
$ds_in = 'cmd_set';
|
|
$ds_out = 'cmd_get';
|
|
|
|
$in_text = 'Set';
|
|
$out_text = 'Get';
|
|
|
|
$graph_title .= ':: Commands';
|
|
$unit_text = 'Commands';
|
|
$colour_line_in = '008800FF';
|
|
$colour_line_out = '000088FF';
|
|
$colour_area_in = 'bEFFbEAA';
|
|
$colour_area_out = 'bEbEFFAA';
|
|
$colour_area_in_max = 'CC88CC';
|
|
$colour_area_out_max = 'FFEFAA';
|
|
|
|
require 'includes/html/graphs/generic_duplex.inc.php';
|