mirror of https://github.com/mvt-project/mvt.git
Added more dangerous settings
This commit is contained in:
parent
86eae68bdb
commit
f8897a4f8c
|
@ -27,6 +27,11 @@ class Settings(AndroidExtraction):
|
|||
self._adb_connect()
|
||||
|
||||
dangerous = [
|
||||
{
|
||||
"description": "disabled Google Play Services apps verification",
|
||||
"key": "verifier_verify_adb_installs",
|
||||
"value": "0",
|
||||
}
|
||||
{
|
||||
"description": "disabled Google Play Protect",
|
||||
"key": "package_verifier_enable",
|
||||
|
@ -47,6 +52,11 @@ class Settings(AndroidExtraction):
|
|||
"key": "install_non_market_apps",
|
||||
"value": "1",
|
||||
},
|
||||
{
|
||||
"description": "disabled confirmation of adb apps installation",
|
||||
"key": "adb_install_need_confirm",
|
||||
"value": "0",
|
||||
},
|
||||
{
|
||||
"description": "disabled sharing of security reports",
|
||||
"key": "send_security_reports",
|
||||
|
@ -86,5 +96,6 @@ class Settings(AndroidExtraction):
|
|||
if danger["key"] == fields[0] and danger["value"] == fields[1]:
|
||||
self.log.warning("Found suspicious setting \"%s = %s\" (%s)",
|
||||
fields[0], fields[1], danger["description"])
|
||||
break
|
||||
|
||||
self._adb_disconnect()
|
||||
|
|
Loading…
Reference in New Issue