From 7829071350e97d331e68e080724f8994b0f44f11 Mon Sep 17 00:00:00 2001 From: Tonimir Kisasondi Date: Tue, 28 Jul 2020 09:17:33 +0200 Subject: [PATCH] Dockerized --- Dockerfile | 6 ++++++ README.md | 13 ++++++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..54e4b1c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,6 @@ +FROM python:2 +WORKDIR /app +COPY . /app +RUN pip install -r requirements.txt +ENTRYPOINT ["python2", "python_exe_unpack.py"] + diff --git a/README.md b/README.md index 824dddd..c126c4c 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,18 @@ A script that helps researcher to unpack and decompile executable written in pyt This script glues together several tools available to the community. Hopefully, this can help people in their daily job. Several YARA rules are available to determine if the executable is written in python (This script also confirms if the executable is created with either py2exe or pyinstaller). -## Requirements +## Requirements & Install + + +### Docker + +Build the image with: `docker build -t python_exe_unpack .` +Run the image with: `docker run --rm -it -v $(pwd):/data python_exe_unpack` + +Your current dir will be exposed as `/data` in the container... + + +### Manual Install - Python 2.7 or later. - Install all the dependency needed:
`pip2 install --user -r requirements.txt`