mirror of
https://github.com/mvt-project/mvt.git
synced 2024-06-23 12:58:58 +00:00
38 lines
1.0 KiB
Python
38 lines
1.0 KiB
Python
# Mobile Verification Toolkit (MVT)
|
|
# Copyright (c) 2021-2023 The MVT Authors.
|
|
# Use of this software is governed by the MVT License 1.1 that can be found at
|
|
# https://license.mvt.re/1.1/
|
|
|
|
import logging
|
|
from typing import Optional
|
|
|
|
from mvt.common.command import Command
|
|
|
|
from .modules.adb import ADB_MODULES
|
|
|
|
log = logging.getLogger(__name__)
|
|
|
|
|
|
class CmdAndroidCheckADB(Command):
|
|
def __init__(
|
|
self,
|
|
target_path: Optional[str] = None,
|
|
results_path: Optional[str] = None,
|
|
ioc_files: Optional[list] = None,
|
|
module_name: Optional[str] = None,
|
|
serial: Optional[str] = None,
|
|
module_options: Optional[dict] = None,
|
|
) -> None:
|
|
super().__init__(
|
|
target_path=target_path,
|
|
results_path=results_path,
|
|
ioc_files=ioc_files,
|
|
module_name=module_name,
|
|
serial=serial,
|
|
module_options=module_options,
|
|
log=log,
|
|
)
|
|
|
|
self.name = "check-adb"
|
|
self.modules = ADB_MODULES
|