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