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.
2 parents 9069cb3 + 147f573 commit e82ce7aCopy full SHA for e82ce7a
wifi-deauth.py
@@ -96,7 +96,7 @@ def _ap_sniff_cb(self, pkt):
96
band_type = BandType.T_50GHZ if pkt_ch > 14 else BandType.T_24GHZ
97
if ssid not in self._all_ssids[band_type]:
98
self._all_ssids[band_type][ssid] = SSID(ssid, ap_mac, band_type)
99
- self._all_ssids[band_type][ssid].add_channel(pkt_ch)
+ self._all_ssids[band_type][ssid].add_channel(pkt_ch if pkt_ch in self._channel_range else self._current_channel_num)
100
else:
101
self._clients_sniff_cb(pkt) # pass forward to find potential clients
102
except Exception as exc:
0 commit comments