Warnings should be reserved for detections ideally

This commit is contained in:
Nex 2022-08-25 17:22:24 +02:00
parent 2365175dbd
commit 8988adcf77
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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()