yasamoka / LoSuite

Decrypts a password-protected Huawei backup database when the password is known.
2 stars 2 forks source link

info.xml parsing not flexible enough #1

Open baraclese opened 5 years ago

baraclese commented 5 years ago

for i in range(len(rows)): assert rows[i].attrib["table"] == ROW_TABLES[i]

header_info, backup_file_phone_info,\ backup_file_version_info, backup_files_type_info,\ backup_file_module_info_system_data,\ = rows

This code does not work with the info.xml generated by the current HiSuite version (on PC). After <row table="BackupFilesTypeInfo"> I have multiple <row table="BackupFileModuleInfo_Contact"> and then a mix of <row table="BackupFileModuleInfo"> and <row table="BackupFileModuleInfo_SystemData">.

yasamoka commented 5 years ago

Hello, this is still a very preliminary version of this application and I haven't had time or the chance to test on more configurations.