Fix candidates with leading zeroes
This commit is contained in:
parent
e9242bfdb5
commit
dc9c815bc0
1 changed files with 2 additions and 1 deletions
|
@ -62,5 +62,6 @@ for s in ssids:
|
||||||
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):
|
||||||
print(genpwd_longpasswd(oui, "{:04x}{}".format(i, serialBytes)))
|
candidate = genpwd_longpasswd(oui, "{:04x}{}".format(i, serialBytes))
|
||||||
|
print(f"{candidate:010}")
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in a new issue