added support for flock cameras :3 :delighted:

This commit is contained in:
2026-04-27 16:36:17 -06:00
parent 9ec2f195b8
commit 9c392e80a2
5 changed files with 79 additions and 5 deletions
@@ -1,7 +1,9 @@
#!/bin/bash
# set -e # faiulure is not tolerated here # failure is now an option
## easy to add ids~
# vendor_ids=('00:25:DF' '00:58:28' '00:C0:D4' '84:70:03') # real known vendor ids
### Flock: B4:1E:52
### Police: 00:25:DF, 00:58:28, 00:C0:D4, 84:70:03, C0:1C:6A
# vendor_ids=('00:25:DF' '00:58:28' '00:C0:D4' '84:70:03' 'B4:1E:52') # real known vendor ids
## random macs for testing
vendor_ids=('00:25:DF' '00:58:28' '00:C0:D4' '84:70:03' 'CO:1C:6A' '01' '02' '03' '04' '05' '06' '07' '08' '09' '0B' '77' '99' '0A' '0B' '0C' '0D' '0E' '0F' 'AB' 'C0')
webhook_file="/usr/share/DREAMMAKER/.discord_url"
@@ -2,7 +2,9 @@
# truth be told idk why tf i made this poc as a shell script. there is no non-inebreated explanaition for dis
set -e # faiulure is not tolerated here
## easy to add ids~
vendor_ids=('00:25:DF' '00:58:28' '00:C0:D4' '84:70:03') # real world vendor ids
### Flock: B4:1E:52
### Police: 00:25:DF, 00:58:28, 00:C0:D4, 84:70:03, C0:1C:6A
vendor_ids=('00:25:DF' '00:58:28' '00:C0:D4' '84:70:03' 'B4:1E:52') # real world vendor ids
## random macs for testing
# vendor_ids=('00:25:DF' '00:58:28' '00:C0:D4' '84:70:03' 'CO:1C:6A' '01' '02' '03' '04' '05' '06' '07' '08' '09' '0B' '77' '99' '0A' '0B' '0C' '0D' '0E' '0F' 'AB' 'C0')
webhook_file="/usr/share/DREAMMAKER/.discord_url"
+3 -1
View File
@@ -32,9 +32,11 @@ header = """
"""
# bunch of random prefixes for testing
## Flock: B4:1E:52
## Police: 00:25:DF, 00:58:28, 00:C0:D4, 84:70:03, C0:1C:6A
## VENDOR_PREFIXES = ['00:25:DF', '00:58:28', '00:C0:D4', '84:70:03', 'C0:1C:6A', '01', '02', '03', '04', '05', '06', '07', '08', '09', '0B', '77', '99', '0A', '0B', '0C', '0D', '0E', '0F', 'AB', 'C0']
# live
VNDOR_PREFIXES = ['00:25:DF', '00:58:28', '00:C0:D4', '84:70:03']
VNDOR_PREFIXES = ['00:25:DF', '00:58:28', '00:C0:D4', '84:70:03','B4:1E:52']
async def main():
os.system('cls' if os.name == 'nt' else 'clear') # clear the console