Maintenance tools

&1'; $pia_arpscans = ""; exec($execstring, $pia_arpscans); $pia_arpscans_result = sizeof($pia_arpscans).' scan(s) currently running'; } else { $pia_arpscans_result = 'arp-scan is currently disabled'; } $Pia_Archive_Path = str_replace('front', 'db', getcwd()).'/'; $Pia_Archive_count = 0; $files = glob($Pia_Archive_Path."*.zip"); if ($files){ $Pia_Archive_count = count($files); } $latestfiles = glob($Pia_Archive_Path."*.zip"); natsort($latestfiles); $latestfiles = array_reverse($latestfiles,False); $latestbackup = $latestfiles[0]; $latestbackup_date = date ("Y-m-d H:i:s", filemtime($latestbackup)); if (submit) { $pia_skin_set_dir = '../db/'; $pia_skin_selector = htmlspecialchars($_POST['skinselector']); $pia_installed_skins = array('skin-black-light', 'skin-black', 'skin-blue-light', 'skin-blue', 'skin-green-light', 'skin-green', 'skin-purple-light', 'skin-purple', 'skin-red-light', 'skin-red', 'skin-yellow-light', 'skin-yellow',); if (in_array($pia_skin_selector, $pia_installed_skins)) { foreach ($pia_installed_skins as $file) { unlink ($pia_skin_set_dir.'/'.$file); } foreach ($pia_installed_skins as $file) { if (file_exists($pia_skin_set_dir.'/'.$file)) { $pia_skin_error = True; break; } else { $pia_skin_error = False; } } if ($pia_skin_error == False) { $testskin = fopen($pia_skin_set_dir.$pia_skin_selector, 'w'); $pia_skin_test = ''; echo(""); } else { $pia_skin_test = ''; echo(""); } } } ?>
Database-Path
Database-Size
last Modification
DB Backup
Scan Status (arp)
Theme Selection:
Toggle between dark mode and light mode. If the switch does not work properly, try to clear the browser cache.
Switching the arp-scan on or off. When the scan has been switched off it remains off until it is activated again. Active scans are not canceled.
Before using this function, please make a backup. The deletion cannot be undone. All devices without MAC will be deleted from the database.
Before using this function, please make a backup. The deletion cannot be undone. All devices will be deleted from the database.
Before using this function, please make a backup. The deletion cannot be undone. All devices named (unknown) will be deleted from the database.
Before using this function, please make a backup. The deletion cannot be undone. All events in the database will be deleted. At that moment the presence of all devices will be reset. This can lead to invalid sessions. This means that devices are displayed as "present" although they are offline. A scan while the device in question is online solves the problem.
The database backups are located in the database directory as a zip-archive, named with the creation date. There is no maximum number of backups.
The latest backup can be restored via the button, but older backups can only be restored manually. After the restore, make an integrity check on the database for safety, in case the db was currently in write access when the backup was created.