mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
Sanitize input #807
This commit is contained in:
@@ -42,7 +42,7 @@ def main():
|
|||||||
fake_mac = string_to_mac_hash(fake_dev)
|
fake_mac = string_to_mac_hash(fake_dev)
|
||||||
|
|
||||||
plugin_objects.add_object(
|
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)
|
secondaryId="0.0.0.0", # IP Address (always 0.0.0.0)
|
||||||
watched1=fake_dev, # Device Name
|
watched1=fake_dev, # Device Name
|
||||||
watched2="",
|
watched2="",
|
||||||
|
|||||||
Reference in New Issue
Block a user