Change admin password and encryption key

This commit is contained in:
2019-10-15 20:17:51 +02:00
parent 8875e75439
commit 452a07d593
3 changed files with 3 additions and 3 deletions

View File

@@ -144,7 +144,7 @@ while len(key) < 16:
else:
break
encrypted_adminpw = bytes([0xe3, 0x07, 0x2e, 0x9f, 0x5b, 0xe8, 0xed, 0xd6, 0x02, 0xab, 0x89, 0xb8, 0xeb, 0x49, 0xcc, 0x56])
encrypted_adminpw = bytes([0x95, 0x22, 0x28, 0xf3, 0x90, 0xa6, 0x0b, 0xd2, 0x5d, 0x61, 0xdd, 0x1e, 0xdf, 0x39, 0x44, 0x7b])
aes = AES.new(bytes(key), AES.MODE_ECB)
adminpw = aes.decrypt(encrypted_adminpw)
remotes[0].send("login\nadmin\n")