MCPcopy Create free account
hub / github.com/dedsec1121fk/DedSec / normalize_mac

Function normalize_mac

Scripts/Developer Base/Devices Finder.py:263–266  ·  view source on GitHub ↗
(mac)

Source from the content-addressed store, hash-verified

261
262
263def normalize_mac(mac):
264 if not mac:
265 return ""
266 return mac.lower().replace("-", ":")
267
268
269

Callers 3

lookup_mac_vendorFunction · 0.70
add_discovery_recordFunction · 0.70
scan_networkFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected