mirror of
https://github.com/mvt-project/mvt.git
synced 2024-06-30 08:09:00 +00:00
Warnings should be reserved for detections ideally
This commit is contained in:
parent
2365175dbd
commit
8988adcf77
|
@ -272,8 +272,8 @@ class AndroidExtraction(MVTModule):
|
||||||
self._adb_command(f"rm -f {new_remote_path}")
|
self._adb_command(f"rm -f {new_remote_path}")
|
||||||
|
|
||||||
def _generate_backup(self, package_name: str) -> bytes:
|
def _generate_backup(self, package_name: str) -> bytes:
|
||||||
self.log.warning("Please check phone and accept Android backup prompt. "
|
self.log.info("Please check phone and accept Android backup prompt. "
|
||||||
"You may need to set a backup password. \a")
|
"You may need to set a backup password. \a")
|
||||||
|
|
||||||
# TODO: Base64 encoding as temporary fix to avoid byte-mangling over
|
# TODO: Base64 encoding as temporary fix to avoid byte-mangling over
|
||||||
# the shell transport...
|
# the shell transport...
|
||||||
|
@ -300,7 +300,7 @@ class AndroidExtraction(MVTModule):
|
||||||
except InvalidBackupPassword:
|
except InvalidBackupPassword:
|
||||||
self.log.error("You provided the wrong password! Please try again...")
|
self.log.error("You provided the wrong password! Please try again...")
|
||||||
|
|
||||||
self.log.warn("All attempts to decrypt backup with password failed!")
|
self.log.error("All attempts to decrypt backup with password failed!")
|
||||||
|
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
|
@ -158,7 +158,7 @@ class SMS(AndroidExtraction):
|
||||||
except InsufficientPrivileges:
|
except InsufficientPrivileges:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
self.log.warn("No SMS database found. Trying extraction of SMS data "
|
self.log.info("No SMS database found. Trying extraction of SMS data "
|
||||||
"using Android backup feature.")
|
"using Android backup feature.")
|
||||||
self._extract_sms_adb()
|
self._extract_sms_adb()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user