Divested-Mobile / Hypatia

A realtime malware scanner
GNU Affero General Public License v3.0
491 stars 45 forks source link

Manual loading of Databases without needing to download everytime #94

Open uncommonthinker opened 2 weeks ago

uncommonthinker commented 2 weeks ago

We have devices that we test in our facility and need to run the antivirus to make sure they dont have any. Is there a way to load the databases manually/ via adb to the signatures folder? Putting the devices on wifi everytime adds time to the process, i am planning to automate the test process without having to put the devices online.

Is it possible with the current flow? Is there a database repository from where i can download the latest ones periodically and update the offline databases?

SkewedZeppelin commented 2 weeks ago

Offline database support could be added as a feature.

In the meantime you could alternatively run your own web server with a directory including the following files and point the app to it:

https://divested.dev/MalwareScannerSignatures/gpg.key
https://divested.dev/MalwareScannerSignatures/hypatia-domains-bloom.bin
https://divested.dev/MalwareScannerSignatures/hypatia-domains-bloom.bin.sig
https://divested.dev/MalwareScannerSignatures/hypatia-md5-bloom.bin
https://divested.dev/MalwareScannerSignatures/hypatia-md5-bloom.bin.sig
https://divested.dev/MalwareScannerSignatures/hypatia-md5-extended-bloom.bin
https://divested.dev/MalwareScannerSignatures/hypatia-md5-extended-bloom.bin.sig
https://divested.dev/MalwareScannerSignatures/hypatia-sha1-bloom.bin
https://divested.dev/MalwareScannerSignatures/hypatia-sha1-bloom.bin.sig
https://divested.dev/MalwareScannerSignatures/hypatia-sha256-bloom.bin
https://divested.dev/MalwareScannerSignatures/hypatia-sha256-bloom.bin.sig
uncommonthinker commented 2 weeks ago

@SkewedZeppelin Thanks a lot. Let me know if i can help build this feature.