| Crates.io | malwaredb-client |
| lib.rs | malwaredb-client |
| version | 0.1.2 |
| created_at | 2023-08-22 03:29:57.166811+00 |
| updated_at | 2025-08-31 02:46:55.918992+00 |
| description | Client application and library for connecting to MalwareDB. |
| homepage | https://malwaredb.net/ |
| repository | https://github.com/malwaredb/malwaredb-rs |
| max_upload_size | |
| id | 950693 |
| size | 150,153 |
This application submits and retrieves samples (of known/supported types) from the MalwareDB server over the http protocol.
MalwareDB instance, if you don't have one already. See the main repo for directions.mdb_client login http://localhost:8080 myusername. You'll be prompted for your password.mdb_client whoami. This will show your user information, including groups and sources you have access to.mdb_client server-info to see some overall stats about the server.mdb_client server-types to see which file types the server knows about, and will store samples of these types.mdb_client whoami to ensure you're logged in.mdb_client submit-samples -s 1 /path/to/files/.
-p password and a Zip file to load files from a password-protected Zip file. There is logic to distinquish from a Zip file that's actually an MS Office document versus an archive of files.mdb_client whoami to ensure you're logged in.mdb_client retrieve-sample c8a9335b95774a30addf372395e9a148 to retrieve a sample by it's hash.
mdb_client whoami to ensure you're logged in.mdb_client find-similar /path/to/file. This will calculate the various similarity hashes for the file, and send them to the server to find samples which are similar.