Releases: CERT-Polska/mwdblib
Releases · CERT-Polska/mwdblib
v3.3.1
v3.3.0
Malwarecage changed its name to mwdb-core. To unify the naming:
Malwarecage
class is now calledMWDB
and all classes preceded byMalwarecage
are now preceded byMWDB
(e.g.MalwarecageObject
isMWDBObject
now)- The only exception is
MalwarecageAPI
that is calledAPIClient
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
3.2.0
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 toMalwarecageAPI
- Passing all kwargs provided to
Malwarecage
constructor toMalwarecageAPI
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
- [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
Breaking changes:
- HTTPError exceptions are mapped to MalwarecageError hierarchy
- Removed deprecated
MalwarecageFile.download_content
, usedownload()
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