Browse Source

Merge branch 'master' of RealEnder/nokia-keygen into master

nico 4 năm trước cách đây
mục cha
commit
350e1aa5dd
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      poc/keygen.py

+ 1 - 1
poc/keygen.py

@@ -61,7 +61,7 @@ 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):
+        for i in range(0xffff + 1):
             candidate = genpwd_longpasswd(oui, "{:04x}{}".format(i, serialBytes))
             print(f"{candidate:010}")
         break