Ordering and clean-up

This commit is contained in:
Nex 2022-01-30 16:41:32 +01:00
parent 8db04fc991
commit 851cd52602
4 changed files with 5 additions and 7 deletions

View File

@ -6,10 +6,11 @@
from .chrome_history import ChromeHistory from .chrome_history import ChromeHistory
from .dumpsys_accessibility import DumpsysAccessibility from .dumpsys_accessibility import DumpsysAccessibility
from .dumpsys_activities import DumpsysActivities from .dumpsys_activities import DumpsysActivities
from .dumpsys_battery_daily import DumpsysBatteryDaily
from .dumpsys_battery_history import DumpsysBatteryHistory from .dumpsys_battery_history import DumpsysBatteryHistory
from .dumpsys_dbinfo import DumpsysDBInfo
from .dumpsys_full import DumpsysFull from .dumpsys_full import DumpsysFull
from .dumpsys_receivers import DumpsysReceivers from .dumpsys_receivers import DumpsysReceivers
from .dumpsys_battery_daily import DumpsysBatteryDaily
from .files import Files from .files import Files
from .getprop import Getprop from .getprop import Getprop
from .logcat import Logcat from .logcat import Logcat
@ -22,5 +23,5 @@ from .whatsapp import Whatsapp
ADB_MODULES = [ChromeHistory, SMS, Whatsapp, Processes, Getprop, Settings, ADB_MODULES = [ChromeHistory, SMS, Whatsapp, Processes, Getprop, Settings,
DumpsysBatteryHistory, DumpsysBatteryDaily, DumpsysReceivers, DumpsysBatteryHistory, DumpsysBatteryDaily, DumpsysReceivers,
DumpsysActivities, DumpsysAccessibility, DumpsysFull, DumpsysActivities, DumpsysAccessibility, DumpsysDBInfo,
Packages, RootBinaries, Logcat, Files] DumpsysFull, Packages, RootBinaries, Logcat, Files]

View File

@ -4,7 +4,6 @@
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/
import logging import logging
import os
from .base import AndroidExtraction from .base import AndroidExtraction

View File

@ -4,7 +4,6 @@
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/
import logging import logging
import os
from .base import AndroidExtraction from .base import AndroidExtraction
@ -24,7 +23,7 @@ class DumpsysBatteryDaily(AndroidExtraction):
return { return {
"timestamp": record["from"], "timestamp": record["from"],
"module": self.__class__.__name__, "module": self.__class__.__name__,
"event": f"battery_daily", "event": "battery_daily",
"data": f"Recorded update of package {record['package']} with vers {record['vers']}" "data": f"Recorded update of package {record['package']} with vers {record['vers']}"
} }

View File

@ -4,7 +4,6 @@
# https://license.mvt.re/1.1/ # https://license.mvt.re/1.1/
import logging import logging
import os
from .base import AndroidExtraction from .base import AndroidExtraction