fork 自 g/nokia-keygen
Update 'poc/keygen.py'
This commit is contained in:
父節點
b62a8aa7e7
當前提交
d3ce768c14
@ -16,7 +16,7 @@ def genpwd_longpasswd(oui, serialnum):
|
||||
|
||||
#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):
|
||||
upper = (lower >> 0x18 | ((upper << 8)&0xffffffff))&0xffffffff
|
||||
|
||||
載入中…
新增問題並參考
Block a user