Update 'Readme.md'

This commit is contained in:
nico 2020-05-06 20:01:57 +00:00 committed by ptrcnull
parent ff52954cad
commit 353e48ce73

View file

@ -551,8 +551,9 @@ for s in ssids:
serialBytes = args.ssid serialBytes = args.ssid
for r in s.split("[A-F0-9]{4}"): for r in s.split("[A-F0-9]{4}"):
serialBytes = serialBytes.replace(r, "") serialBytes = serialBytes.replace(r, "")
for i in range(0xffff): for i in range(0xffff + 1):
print(genpwd_longpasswd(oui, "{:04x}{}".format(i, serialBytes))) candidate = genpwd_longpasswd(oui, "{:04x}{}".format(i, serialBytes))
print(f"{candidate:010}")
break break
``` ```