Skip to content

Commit

Permalink
Sanitize input #807
Browse files Browse the repository at this point in the history
  • Loading branch information
jokob-sk committed Sep 25, 2024
1 parent d46046b commit 2784f2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion front/plugins/undiscoverables/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -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="",
Expand Down

0 comments on commit 2784f2e

Please sign in to comment.