return;
}
CacheContainer ccc = new CacheContainer(); // TODO: Check to see if this can be handled better
boolean possiblyMalicious = false;
for (BaseCheck check : checkManager.getChecks()) {
List<CheckResult> results;
try {
results = check.process(rootFolder, file, ccc);
// TODO: Add a Metric (and measurements) showing how many of each malware type was found
if (results != null && !results.isEmpty()) {
possiblyMalicious = true;
results.stream().forEachOrdered(checkResult -> {
if (file.startsWith("AntiMalware\\unzipped")) {
File info = new File(file.toFile().getAbsoluteFile().getParent(), ".info");
showing how many of each malware type was found
https://github.com/OpticFusion1/MCAntiMalware/blob/8cf2c3aee2741749f90ef49fa9ac1c76929893c0/MCAntiMalware-Core/src/main/java/optic_fusion1/antimalware/scanner/Scanner.java#L198
c0ed7d88c936b8eab253acefcf27b747880b3a31