We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23f7fe4 commit 8376b4aCopy full SHA for 8376b4a
modules/auxiliary/gather/chromecast_wifi.rb
@@ -47,8 +47,26 @@ def run
47
waps << [
48
wap["bssid"],
49
wap["signal_level"],
50
- wap["wpa_auth"],
51
- wap["wpa_cipher"],
+ case wap["wpa_auth"]
+ when 1
52
+ "OPN"
53
+ when 5
54
+ "WPA"
55
+ when 7
56
+ "WPA2"
57
+ else
58
+ wap["wpa_auth"]
59
+ end,
60
+ case wap["wpa_cipher"]
61
62
+ ""
63
+ when 3
64
+ "TKIP"
65
+ when 4
66
+ "CCMP"
67
68
+ wap["wpa_cipher"]
69
70
wap["ssid"] + (wap["wpa_id"] ? " (*)" : "")
71
]
72
end
0 commit comments