diff --git a/lib/cuckoo/common/integrations/pyinstxtractor.py b/lib/cuckoo/common/integrations/pyinstxtractor.py index 15925b73c0d..497fdee37ef 100644 --- a/lib/cuckoo/common/integrations/pyinstxtractor.py +++ b/lib/cuckoo/common/integrations/pyinstxtractor.py @@ -83,7 +83,6 @@ - The header of all extracted pyc's are now automatically fixed """ -from __future__ import print_function import logging import marshal import os @@ -188,7 +187,7 @@ def getCArchiveInfo(self): return False self.pymaj, self.pymin = (pyver // 100, pyver % 100) if pyver >= 100 else (pyver // 10, pyver % 10) - log.debug("[+] Python version: {0}.{1}".format(self.pymaj, self.pymin)) + log.debug("[+] Python version: %d.%d", self.pymaj, self.pymin) # Additional data after the cookie tailBytes = ( diff --git a/lib/cuckoo/common/load_extra_modules.py b/lib/cuckoo/common/load_extra_modules.py index 4e20973de7f..8fd4b76a2e1 100644 --- a/lib/cuckoo/common/load_extra_modules.py +++ b/lib/cuckoo/common/load_extra_modules.py @@ -9,6 +9,7 @@ selfextract_conf = Config("selfextract") + def ratdecodedr_load_decoders(path: str): from malwareconfig.common import Decoder