forked from Hay1tsme/artemis
adb: fix semantics with FelicaLookupEx
This commit is contained in:
@ -39,7 +39,7 @@ class ADBFelicaLookupExRequest(ADBBaseRequest):
|
||||
def __init__(self, data: bytes) -> None:
|
||||
super().__init__(data)
|
||||
self.random = struct.unpack_from("<16s", data, 0x20)[0]
|
||||
idm, dfc = struct.unpack_from(">QQ", data, 0x30)
|
||||
idm, dfc, self.arbitrary = struct.unpack_from(">QH6s", data, 0x30)
|
||||
self.card_key_ver, self.write_ct, self.maca, company, fw_ver, self.dfc = struct.unpack_from("<16s16sQccH", data, 0x40)
|
||||
self.idm = hex(idm)[2:].upper()
|
||||
self.dfc = hex(dfc)[2:].upper()
|
||||
|
Reference in New Issue
Block a user