mirror of
https://github.com/bettercap/bettercap
synced 2025-08-20 13:33:21 -07:00
fix: fixes a bug on macOS with non printable characters in ESSID (ref #61)
This commit is contained in:
parent
b62b44dd42
commit
a5049f4ff2
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ func cleanESSID(essid string) string {
|
|||
if strconv.IsPrint(c) {
|
||||
res += string(c)
|
||||
} else {
|
||||
res += fmt.Sprintf("{0x%02x}", c)
|
||||
break
|
||||
}
|
||||
}
|
||||
return res
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue