Crate malwaredb_api

Source
Expand description

§MalwareDB API

TestLintCrossCrates.io Version

This crate stores the API endpoints and data types expected for each endpoint. This could be used to build a custom client.

Modules§

  • Wrapper for fixed-size hash digests from hex strings

Structs§

Enums§

Constants§

  • API endpoint for downloading a sample, GET. The hash value goes at the end of the URL. For example: /v1/samples/download/aabbccddeeff0011223344556677889900 Response is raw bytes of the file, or HTTP 404 if not found
  • API endpoint for downloading a sample as a CaRT file, GET For example: /v1/samples/download/cart/aabbccddeeff0011223344556677889900 Response is the file encoded in a CaRT container file, or HTTP 404 if not found
  • API endpoint for finding samples which are similar to specific file, POST
  • Endpoint for the sources, per-user, GET, authenticated
  • Header key used to present the API key to the server
  • MDB version
  • API endpoint to get a report for a given sample For example: /v1/samples/report/aabbccddeeff0011223344556677889900
  • Server information, request is empty, GET, Unauthenticated.
  • API endpoint for finding samples which are similar to specific file, POST, Authenticated.
  • File types supported by MalwareDB, request is empty, GET, Unauthenticated.
  • API endpoint for uploading a sample, POST, Authenticated
  • User’s get self information API endpoint, GET, authenticated User EmptyAuthenticatingPost to authenticate
  • Login API endpoint, POST
  • Logout API endpoint, GET, authenticated.