mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 08:14:00 +08:00
Fix fuzz_fw_fingerprint.py script
old-commit-hash: 7090a8841935d3a1c67fd915e4898a9880c237b5
This commit is contained in:
@@ -28,7 +28,7 @@ if __name__ == "__main__":
|
||||
for candidate, fws in FWS.items():
|
||||
fw_dict = {}
|
||||
for (tp, addr, subaddr), fw_list in fws.items():
|
||||
fw_dict[(addr, subaddr)] = random.choice(fw_list)
|
||||
fw_dict[(addr, subaddr)] = [random.choice(fw_list)]
|
||||
|
||||
matches = match_fw_to_car_fuzzy(fw_dict, log=False, exclude=candidate)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user