Expand description
Database I/O
Postgres is the database used by MalwareDB.
However, SQLite will be used for unit testing. This option can be allowed by using the sqlite
feature flag. When using SQLite, any similarity functions must be calculated by MalwareDB.
Modules§
- types
- File Metadata convenience data structure
Structs§
- Database
Information - Version information for the database, and some basic stats
- MDBConfig
- Malware DB configuration which is stored in the database
- VtStats
- VT record information for files in Malware DB
Enums§
- Database
Type - Database handle for
SQLiteor Postgres
Constants§
- PARTIAL_
SEARCH_ LIMIT - The maximum amount of partial hash and/or partial file name search results to prevent performance issues
Functions§
- hash_
password - Hash a password string with Argon2
- random_
bytes_ api_ key - Generate a new, random API key