MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / _map_security

Function _map_security

wardriving.py:79–84  ·  view source on GitHub ↗

Map nmcli security string to WiGLE-compatible auth mode.

(security_str)

Source from the content-addressed store, hash-verified

77 'WPA1 WPA2': '[WPA-PSK-TKIP+CCMP][WPA2-PSK-CCMP][ESS]',
78 'WPA2 802.1X': '[WPA2-EAP-CCMP][ESS]',
79 'WPA1': '[WPA-PSK-TKIP][ESS]',
80 'WEP': '[WEP][ESS]',
81 '': '[ESS]',
82 '--': '[ESS]',
83}
84
85
86def _map_security(security_str):
87 """Map nmcli security string to WiGLE-compatible auth mode."""

Callers 1

export_wigle_csvMethod · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected