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/
19 lines
491 B
PHP
19 lines
491 B
PHP
<?php
|
|
|
|
echo "<div style='margin: 0px;'><table border=0 cellspacing=0 cellpadding=5 width=100%>";
|
|
|
|
$i = '1';
|
|
|
|
|
|
$aps = dbFetchRows("SELECT * FROM `access_points` WHERE `device_id` = ? AND `deleted` = '0' ORDER BY `name`,`radio_number` ASC", array($device['device_id']));
|
|
echo "<div style='margin: 0px;'><table border=0 cellspacing=0 cellpadding=5 width=100%>";
|
|
foreach ($aps as $ap) {
|
|
include 'includes/html/print-accesspoint.inc.php';
|
|
$i++;
|
|
}
|
|
|
|
echo '</table></div>';
|
|
|
|
|
|
echo '</div>';
|