Signed-off-by: Tavi <tavi@divested.dev>
This commit is contained in:
Tavi 2024-05-23 09:11:26 -04:00
parent 02dd4f624e
commit ff2e34e49e
No known key found for this signature in database
GPG key ID: E599F62ECBAEAF2E
3 changed files with 4 additions and 4 deletions

View file

@ -82,7 +82,7 @@ public class MainActivity extends Activity {
logView.append(getString(R.string.app_copyright) + "\n");
logView.append(getString(R.string.app_license) + "\n");
logView.append(getString(R.string.app_version, buildVersionName) + "\n");
logView.append(getString(R.string.app_version, buildVersionName) + "\n\n");
malwareScanner = new MalwareScanner(this, this, true);

View file

@ -83,5 +83,5 @@
<string name="lblNotificationLinkDetection">Malicious Link Detected:</string>
<string name="lblLinkScannerToggle">Link Scanner</string>
<string name="confirm_link_scanner_title">Enable link scanner?</string>
<string name="confirm_link_scanner_summary">[EXPERIMENTAL]\nThis will download an additional database of domains.\nAny domains found in screen content will be checked against the database.\nThis require granting accessibility service permission manually.</string>
<string name="confirm_link_scanner_summary">[EXPERIMENTAL]\nThis will download an additional database of domains.\nAny domains found in screen content will be checked against the database.\nThis requires granting accessibility service permission manually.</string>
</resources>

View file

@ -74,7 +74,7 @@ public class Main {
}
int amtMaxSHA1 = 50000; //50k
int amtMaxSHA256 = 2000000; //2m
int amtMaxDomains = 1800000; //1.8m
int amtMaxDomains = 4200000; //4.2m
signaturesMD5 = BloomFilter.create(Funnels.stringFunnel(Charsets.US_ASCII), amtMaxMD5, 0.00001);
signaturesSHA1 = BloomFilter.create(Funnels.stringFunnel(Charsets.US_ASCII), amtMaxSHA1, 0.00001);
signaturesSHA256 = BloomFilter.create(Funnels.stringFunnel(Charsets.US_ASCII), amtMaxSHA256, 0.00001);
@ -115,7 +115,7 @@ public class Main {
}
System.out.println("\tLoaded " + arrExclusions.size() + " excluded hashes");
if (args.length == 2) {
if (args.length == 2 && !extendedMode) {
System.out.println("Processing domains:");
File domainDatabase = new File(args[1]);
if (domainDatabase.exists()) {