diff --git a/Dockerfile b/Dockerfile index d12c9e2..c5817cf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.9 +FROM python:3.10 WORKDIR /app/service COPY ./requirements.txt ./requirements.txt diff --git a/karton/autoit_ripper/__version__.py b/karton/autoit_ripper/__version__.py index c68196d..a955fda 100644 --- a/karton/autoit_ripper/__version__.py +++ b/karton/autoit_ripper/__version__.py @@ -1 +1 @@ -__version__ = "1.2.0" +__version__ = "1.2.1" diff --git a/karton/autoit_ripper/autoit_ripper_karton.py b/karton/autoit_ripper/autoit_ripper_karton.py index 901efa2..ed307a4 100644 --- a/karton/autoit_ripper/autoit_ripper_karton.py +++ b/karton/autoit_ripper/autoit_ripper_karton.py @@ -82,7 +82,12 @@ def process(self, task: Task) -> None: ) if res_name == "script.au3": self.log.info("Looking for a binary embedded in the script") - drop = extract_binary(res_data.decode()) + drop = None + try: + drop = extract_binary(res_data.decode()) + except UnicodeDecodeError: + pass + if drop: self.log.info("Found an embedded binary") self.send_task( diff --git a/requirements.txt b/requirements.txt index fe5d60d..cb6bc97 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ karton-core>=5.0.0,<6.0.0 malduck==4.3.2 regex==2020.2.20 -autoit-ripper==1.1.1 +autoit-ripper==1.1.2