Skip to content

Releases: CERT-Polska/mwdblib

v3.3.1

09 Oct 17:33
9eabefb
Compare
Choose a tag to compare

Bugfix:

  • Additional options passed to mwdb.upload_file (e.g. parent) were ignored by API

v3.3.0

30 Sep 16:50
e52747c
Compare
Choose a tag to compare

Malwarecage changed its name to mwdb-core. To unify the naming:

  • Malwarecage class is now called MWDB and all classes preceded by Malwarecage are now preceded by MWDB (e.g. MalwarecageObject is MWDBObject now)
  • The only exception is MalwarecageAPI that is called APIClient now

In 3.x series all old identifiers are left as aliases for the new names. These aliases should be considered obsolete and can be removed in next major version.

New features:

  • Added support for 'in-blob' keys in util.config_dhash
  • Moved to new object upload and search API - untyped search() is not limited to 10000 records and behaves like typed variants e.g. search_files())
  • Added count methods to count objects matching query

Bugfixes:

  • Fixed CLI broken table rendering with beautifultable 1.0.0

3.2.1

04 Feb 14:23
Compare
Choose a tag to compare

Bugfix:

  • Malwarecage.search_* methods were not working properly (regression at 3.2.0 release)

3.2.0

23 Jan 14:35
Compare
Choose a tag to compare

New features:

  • Added listen_for_objects methods for continuous listening for recent object, can be useful for scripts using MWDB as feed.
  • Added retry_on_downtime option to MalwarecageAPI
  • Passing all kwargs provided to Malwarecage constructor to MalwarecageAPI object (no need to create it separately)

Improvements and bugfixes:

  • BadResponseError when response from server doesn't look like correct JSON ("Probably MalwarecageAPI.api_url points to the Malwarecage web app instead of Malwarecage REST API.")
  • Notification about missing CLI dependencies, when [cli] extras are not installed
  • Fixed handling of 'parent' option in mwdb upload blob command

3.1.0

21 Oct 10:28
Compare
Choose a tag to compare
  • [CLI] mwdb fetch gets destination path as a second argument, not as --output option because of a naming conflicts with formatter output modifiers.
  • [CLI] Fixed mwdb fetch --keep-name behavior when original name is invalid or empty.
  • Fixed setup.py which didn't work without pre-installation of dependencies.
  • Added helper function config_dhash which allows to pre-evaluate dhash for MalwarecageConfig object contents.

3.0.0

24 Sep 15:25
Compare
Choose a tag to compare

Breaking changes:

  • HTTPError exceptions are mapped to MalwarecageError hierarchy
  • Removed deprecated MalwarecageFile.download_content, use download() method instead

New features:

  • Command-line interface (extra package mwdblib[cli])
  • mwdblib is reporting its version via User-Agent
  • Malwarecage.query() should properly handle other hashes than SHA-256
  • Various bugfixes and improvements

2.6.0

06 Sep 12:14
Compare
Choose a tag to compare
  • Delaying requests when rate limit has been exceeded
  • recent_* should be more effective (using older_than= query instead of deprecated page=)
  • verify_ssl is set to True by default
  • Slightly improved error handling

2.5.1

08 Jul 09:21
Compare
Choose a tag to compare
  • Trailing slash is automatically added to api_url

2.5.0

16 May 16:10
Compare
Choose a tag to compare
  • More interactive Malwarecage.login(), which asks for password via getpass when not provided by arguments
  • MalwarecageObject.add_child accepts object id as argument

2.4.0.2

16 Apr 13:01
Compare
Choose a tag to compare
  • Auto-refresh of password-authenticated sessions
  • MalwarecageObject.shares support
  • Support for latest API features