We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dc8b659 + 908fdcd commit 5b3e84fCopy full SHA for 5b3e84f
1 file changed
wifite/tools/hcxdumptool.py
@@ -103,8 +103,11 @@ def __enter__(self):
103
if self.channel:
104
# Add band suffix 'a' for 2.4GHz (most common)
105
channel_str = str(self.channel)
106
- if not channel_str[-1].isalpha():
107
- channel_str += 'a' # Default to 2.4GHz band
+ if channel_str.isdigit():
+ if int(channel_str) <= 14:
108
+ channel_str += 'a' # Default to 2.4GHz band
109
+ else:
110
+ channel_str += 'b'
111
command.extend(['-c', channel_str])
112
113
# Note: hcxdumptool 7.x removed --filterlist_ap option
0 commit comments