1
0
forked from g/nokia-keygen

Update 'Readme.md'

This commit is contained in:
nico 2020-05-04 19:44:53 +00:00
parent a272463de6
commit b62a8aa7e7

View File

@ -506,7 +506,7 @@ def genpwd_longpasswd(oui, serialnum):
#wanpasswd = base64.b32encode(bytes(bytearray(md5_secret1[:16] + md5_secret2[:3]))).decode("ascii")[:30] #wanpasswd = base64.b32encode(bytes(bytearray(md5_secret1[:16] + md5_secret2[:3]))).decode("ascii")[:30]
lower = upper = i = 0 lower = upper = 0
for i in range(8): for i in range(8):
upper = (lower >> 0x18 | ((upper << 8)&0xffffffff))&0xffffffff upper = (lower >> 0x18 | ((upper << 8)&0xffffffff))&0xffffffff