mirror of
https://github.com/MaintainTeam/Hypatia.git
synced 2025-02-28 21:38:21 +03:00
Tweaks
Signed-off-by: Tavi <tavi@divested.dev>
This commit is contained in:
parent
02dd4f624e
commit
ff2e34e49e
3 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue