Update 'Readme.md'
This commit is contained in:
parent
ff52954cad
commit
353e48ce73
1 changed files with 18 additions and 17 deletions
|
@ -551,8 +551,9 @@ for s in ssids:
|
|||
serialBytes = args.ssid
|
||||
for r in s.split("[A-F0-9]{4}"):
|
||||
serialBytes = serialBytes.replace(r, "")
|
||||
for i in range(0xffff):
|
||||
print(genpwd_longpasswd(oui, "{:04x}{}".format(i, serialBytes)))
|
||||
for i in range(0xffff + 1):
|
||||
candidate = genpwd_longpasswd(oui, "{:04x}{}".format(i, serialBytes))
|
||||
print(f"{candidate:010}")
|
||||
break
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue