Crate malwaredb_api
source ·Structs
- Requesting a sample from MalwareDB
- Generic POST for authenticating with the API key
- User logs in with username and password
- Response includes the key, if the credentials were correct, and possibly show a message related to errors or warnings.
- User gets information about their account
- New file sample being sent to MalwareDB
- Information about the server
- Requesting a sample from MalwareDB
- Response indicating samples which are similar
- Source record
- Sources response
- One record of supported file types
- All of the supported types, the response
Enums
- The hash by which a sample is identified
- The hash by which a sample is identified
Constants
- API endpoint for downloading a sample, POST Response is raw bytes of the file, or HTTP 404 if not found
- Endpoint for the sources, per-user, POST
- MDB version
- Server information, request is empty, GET
- API endpoint for finding samples which are similar to specific file, POST
- File types supported by MalwareDB, request is empty, GET
- API endpoint for uploading a sample, POST
- User’s get self information API endpoint, POST User
EmptyAuthenticatingPost
to authenticate - Login API endpoint, POST
- Logout API endpoint, POST