mirror of https://github.com/mvt-project/mvt.git
Fixing spacing
This commit is contained in:
parent
fc9a27d030
commit
9bdef6ede4
|
@ -110,7 +110,6 @@ class SMS(AndroidExtraction):
|
|||
|
||||
log.info("Extracted a total of %d SMS messages containing links", len(self.results))
|
||||
|
||||
|
||||
def _extract_sms_adb(self):
|
||||
"""Use the Android backup command to extract SMS data from the native SMS app
|
||||
|
||||
|
|
|
@ -64,6 +64,7 @@ def parse_ab_header(data):
|
|||
"encryption": None
|
||||
}
|
||||
|
||||
|
||||
def decrypt_master_key(password, user_salt, user_iv, pbkdf2_rounds, master_key_blob, format_version, checksum_salt):
|
||||
"""Generate AES key from user password uisng PBKDF2
|
||||
|
||||
|
@ -107,6 +108,7 @@ def decrypt_master_key(password, user_salt, user_iv, pbkdf2_rounds, master_key_b
|
|||
|
||||
return master_key, master_iv
|
||||
|
||||
|
||||
def decrypt_backup_data(encrypted_backup, password, encryption_algo, format_version):
|
||||
"""
|
||||
Generate encryption keyffrom password and do decryption
|
||||
|
@ -137,6 +139,7 @@ def decrypt_backup_data(encrypted_backup, password, encryption_algo, format_vers
|
|||
unpadder = padding.PKCS7(128).unpadder()
|
||||
return unpadder.update(decrypted_tar)
|
||||
|
||||
|
||||
def parse_backup_file(data, password=None):
|
||||
"""
|
||||
Parse an ab file, returns a tar file
|
||||
|
|
Loading…
Reference in New Issue