Expand description
§Malware DB Server
This is the logic for the Malware DB Server. This can be used to add Malware DB’s functionality to a custom server application.
There is separate documentation for the database schema.
Modules§
- crypto
- Cryptographic functionality for file storage
- db
- Database I/O
Postgres is the database used by MalwareDB.
However, SQLite will be used for unit testing or for small instances of MalwareDB. This option
can be allowed by using the
sqlitefeature flag. When using SQLite, MalwareDB will calculate the distances for the similarity hashes. - http
- HTTP Server
- utils
- Entropy functions
- vt
vt - Virus Total integration
Structs§
- State
- State & configuration of the running server instance
Constants§
- GZIP_
MAGIC - Gzip’s magic number to see if a file is compressed
- MDB_
VERSION - MDB version
- ZSTD_
MAGIC - Zstd magic number to see if a file is compressed
Statics§
- MDB_
VERSION_ SEMVER - MDB version as a semantic version object