scVENUS / PeekabooAV

Peekaboo Extended Email Attachment Behavior Observation Owl
https://peekabooav.de
GNU General Public License v3.0
66 stars 20 forks source link

urllib3.util.retry.Retry DeprecationWarning for 'method_whitelist' #198

Closed Jack28 closed 2 years ago

Jack28 commented 2 years ago

Initialization of the Cuckoo analyzer produces the following warning: /opt/peekaboo/lib/python3.8/site-packages/peekaboo/toolbox/cuckoo.py:70: DeprecationWarning: Using 'method_whitelist' with Retry is deprecated and will be removed in v2.0. Use 'allowed_methods' instead

https://github.com/scVENUS/PeekabooAV/blob/cac46b4dcda6d75315dafdabd20b8931b1fda312/peekaboo/toolbox/cuckoo.py#L160

This likely also affects the Cortex analyzer: https://github.com/scVENUS/PeekabooAV/blob/cac46b4dcda6d75315dafdabd20b8931b1fda312/peekaboo/toolbox/cortex.py#L588