Skip to content

Commit

Permalink
update js, python libs
Browse files Browse the repository at this point in the history
  • Loading branch information
Davide Arcuri committed Aug 28, 2024
1 parent a4f89fb commit 1f77aa4
Show file tree
Hide file tree
Showing 42 changed files with 16,407 additions and 1,398 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ fail_fast: true

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml

- repo: https://github.com/psf/black
rev: 24.4.2
rev: 24.8.0
hooks:
- id: black

Expand Down
545 changes: 427 additions & 118 deletions compose/local/arm.py → compose/local/arm64/arm.py

Large diffs are not rendered by default.

458 changes: 458 additions & 0 deletions compose/local/arm64/pdbscan.py

Large diffs are not rendered by default.

565 changes: 565 additions & 0 deletions compose/local/arm64/windows.py

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions compose/local/dask/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM daskdev/dask:2024.7.1-py3.12
FROM daskdev/dask:2024.8.1-py3.12
ENV DEBIAN_FRONTEND noninteractive

ARG local_folder=/uploads
Expand Down Expand Up @@ -27,7 +27,7 @@ RUN freshclam
# Workers should have similar reqs as django
WORKDIR /
COPY ./requirements /requirements
RUN pip install uv==0.2.31 -e git+https://github.com/dadokkio/volatility3.git@f740146f692ba288f376a939b24b1c1a8f7cf5e2#egg=volatility3 \
RUN pip install uv==0.3.5 -e git+https://github.com/dadokkio/volatility3.git@517f46e833648d1232b410436e53e07da429d6f5#egg=volatility3 \
&& uv pip install --no-cache --system -r /requirements/base.txt

COPY ./compose/local/dask/prepare.sh /usr/bin/prepare.sh
Expand All @@ -37,8 +37,9 @@ COPY ./compose/local/dask/daskworkerinit.py /opt/daskworkerinit.py
COPY ./compose/local/__init__.py /src/volatility3/volatility3/framework/constants/__init__.py

#EXPERIMENTAL SUPPORT FOR ARM64
COPY ./compose/local/linux.py /src/volatility3/volatility3/framework/automagic/linux.py
COPY ./compose/local/arm.py /src/volatility3/volatility3/framework/layers/arm.py
COPY ./compose/local/arm64/pdbscan.py /src/volatility3/volatility3/framework/automagic/pdbscan.py
COPY ./compose/local/arm64/windows.py /src/volatility3/volatility3/framework/automagic/windows.py
COPY ./compose/local/arm64/arm.py /src/volatility3/volatility3/framework/layers/arm.py
RUN sed -i 's/\["Intel32", "Intel64"\]/\["Intel32", "Intel64", "AArch64"\]/g' /src/volatility3/volatility3/framework/plugins/linux/*.py

RUN mkdir -p $local_folder /maxmind
Expand Down
9 changes: 5 additions & 4 deletions compose/local/django/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.12.4-slim-bookworm as common-base
FROM python:3.12.5-slim-bookworm as common-base

ENV DJANGO_SETTINGS_MODULE config.settings.local
ENV PYTHONUNBUFFERED 1
Expand Down Expand Up @@ -44,14 +44,15 @@ RUN /usr/local/go/bin/go build
FROM common-base
WORKDIR /
COPY ./requirements /requirements
RUN pip install uv==0.2.31 -e git+https://github.com/dadokkio/volatility3.git@f740146f692ba288f376a939b24b1c1a8f7cf5e2#egg=volatility3 \
RUN pip install uv==0.3.5 -e git+https://github.com/dadokkio/volatility3.git@517f46e833648d1232b410436e53e07da429d6f5#egg=volatility3 \
&& uv pip install --no-cache --system -r /requirements/base.txt

COPY ./compose/local/__init__.py /src/volatility3/volatility3/framework/constants/__init__.py

#EXPERIMENTAL SUPPORT FOR ARM64
COPY ./compose/local/linux.py /src/volatility3/volatility3/framework/automagic/linux.py
COPY ./compose/local/arm.py /src/volatility3/volatility3/framework/layers/arm.py
COPY ./compose/local/arm64/pdbscan.py /src/volatility3/volatility3/framework/automagic/pdbscan.py
COPY ./compose/local/arm64/windows.py /src/volatility3/volatility3/framework/automagic/windows.py
COPY ./compose/local/arm64/arm.py /src/volatility3/volatility3/framework/layers/arm.py
RUN sed -i 's/\["Intel32", "Intel64"\]/\["Intel32", "Intel64", "AArch64"\]/g' /src/volatility3/volatility3/framework/plugins/linux/*.py

RUN mkdir -p $local_folder /maxmind
Expand Down
Loading

0 comments on commit 1f77aa4

Please sign in to comment.