From 2784f2ebebc3a2a9e416b6745dcbe5bd7d566fec Mon Sep 17 00:00:00 2001 From: jokob-sk Date: Thu, 26 Sep 2024 07:32:04 +1000 Subject: [PATCH] Sanitize input #807 --- front/plugins/undiscoverables/script.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/plugins/undiscoverables/script.py b/front/plugins/undiscoverables/script.py index 2ad03361..49bb2562 100755 --- a/front/plugins/undiscoverables/script.py +++ b/front/plugins/undiscoverables/script.py @@ -42,7 +42,7 @@ def main(): fake_mac = string_to_mac_hash(fake_dev) plugin_objects.add_object( - primaryId=fake_dev, # MAC (Device Name) + primaryId=fake_mac, # MAC (Device Name) secondaryId="0.0.0.0", # IP Address (always 0.0.0.0) watched1=fake_dev, # Device Name watched2="",