mirror of
https://github.com/mvt-project/mvt
synced 2025-11-13 01:37:36 +01:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f9a3016dd1 | ||
|
|
2b10e86f53 |
@@ -1,5 +1,5 @@
|
|||||||
mkdocs==1.6.1
|
mkdocs==1.6.1
|
||||||
mkdocs-autorefs==1.4.3
|
mkdocs-autorefs==1.4.2
|
||||||
mkdocs-material==9.6.20
|
mkdocs-material==9.6.17
|
||||||
mkdocs-material-extensions==1.3.1
|
mkdocs-material-extensions==1.3.1
|
||||||
mkdocstrings==0.30.0
|
mkdocstrings==0.30.0
|
||||||
@@ -107,7 +107,8 @@ class Packages(AndroidExtraction):
|
|||||||
result["matched_indicator"] = ioc
|
result["matched_indicator"] = ioc
|
||||||
self.detected.append(result)
|
self.detected.append(result)
|
||||||
|
|
||||||
def check_virustotal(self, packages: list) -> None:
|
@staticmethod
|
||||||
|
def check_virustotal(packages: list) -> None:
|
||||||
hashes = []
|
hashes = []
|
||||||
for package in packages:
|
for package in packages:
|
||||||
for file in package.get("files", []):
|
for file in package.get("files", []):
|
||||||
@@ -142,15 +143,8 @@ class Packages(AndroidExtraction):
|
|||||||
|
|
||||||
for package in packages:
|
for package in packages:
|
||||||
for file in package.get("files", []):
|
for file in package.get("files", []):
|
||||||
if "package_name" in package:
|
row = [package["package_name"], file["path"]]
|
||||||
row = [package["package_name"], file["path"]]
|
|
||||||
elif "name" in package:
|
|
||||||
row = [package["name"], file["path"]]
|
|
||||||
else:
|
|
||||||
self.log.error(
|
|
||||||
f"Package {package} has no name or package_name. packages.json or apks.json is malformed"
|
|
||||||
)
|
|
||||||
continue
|
|
||||||
if file["sha256"] in detections:
|
if file["sha256"] in detections:
|
||||||
detection = detections[file["sha256"]]
|
detection = detections[file["sha256"]]
|
||||||
positives = detection.split("/")[0]
|
positives = detection.split("/")[0]
|
||||||
|
|||||||
@@ -895,10 +895,6 @@
|
|||||||
"version": "15.8.4",
|
"version": "15.8.4",
|
||||||
"build": "19H390"
|
"build": "19H390"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"version": "15.8.5",
|
|
||||||
"build": "19H394"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"build": "20A362",
|
"build": "20A362",
|
||||||
"version": "16.0"
|
"version": "16.0"
|
||||||
@@ -1004,10 +1000,6 @@
|
|||||||
"version": "16.7.11",
|
"version": "16.7.11",
|
||||||
"build": "20H360"
|
"build": "20H360"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"version": "16.7.12",
|
|
||||||
"build": "20H364"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"version": "17.0",
|
"version": "17.0",
|
||||||
"build": "21A327"
|
"build": "21A327"
|
||||||
@@ -1147,17 +1139,5 @@
|
|||||||
{
|
{
|
||||||
"version": "18.6.1",
|
"version": "18.6.1",
|
||||||
"build": "22G90"
|
"build": "22G90"
|
||||||
},
|
|
||||||
{
|
|
||||||
"version": "18.6.2",
|
|
||||||
"build": "22G100"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"version": "18.7",
|
|
||||||
"build": "22H20"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"version": "26",
|
|
||||||
"build": "23A341"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user