From 980aba1cda4bfc9bd0fdd4c07ebb03614be7efe8 Mon Sep 17 00:00:00 2001 From: Jokob-sk Date: Tue, 3 Jan 2023 10:27:38 +1100 Subject: [PATCH] PUSHPROD 23.01.03 HF01 --- back/pialert.py | 2 +- front/php/templates/language/en_us.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/back/pialert.py b/back/pialert.py index a72d3716..62cc3921 100755 --- a/back/pialert.py +++ b/back/pialert.py @@ -711,7 +711,7 @@ def main (): # Check if new devices need to be scanned with Nmap if NMAP_ACTIVE: - sql.execute ("""SELECT eve_IP as dev_LastIP, eve_MAC as dev_MACq FROM Events_Devices + sql.execute ("""SELECT eve_IP as dev_LastIP, eve_MAC as dev_MAC FROM Events_Devices WHERE eve_PendingAlertEmail = 1 AND eve_EventType = 'New Device' ORDER BY eve_DateTime""") diff --git a/front/php/templates/language/en_us.php b/front/php/templates/language/en_us.php index e37412aa..9fc0931e 100755 --- a/front/php/templates/language/en_us.php +++ b/front/php/templates/language/en_us.php @@ -574,7 +574,7 @@ the arp-scan will take hours to complete instead of seconds. // Nmap 'NMAP_ACTIVE_name' => 'Cycle run', -'NMAP_ACTIVE_description' => 'If enabled this will execute the scan every time a new device is found on the network. For a scheduled or one-off scan, check the NMAP_RUN setting.', +'NMAP_ACTIVE_description' => 'If enabled this will execute a scan on a newly found device. For a scheduled or one-off scan, check the NMAP_RUN setting.', 'NMAP_TIMEOUT_name' => 'Run timeout', 'NMAP_TIMEOUT_description' => 'Maximum time to wait for an Nmap scan to finish on any device.', 'NMAP_RUN_name' => 'Scheduled run',