mirror of
https://github.com/mvt-project/mvt.git
synced 2026-05-21 07:46:57 +02:00
Added more dangerous settings
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user