From 6cdf059131e0d3504737539a1ae3211a233fe3e2 Mon Sep 17 00:00:00 2001 From: Ernesto Perez Date: Sat, 6 Dec 2025 07:33:21 -0500 Subject: [PATCH] feat: Add Dockerfile and usage instructions --- Dockerfile | 14 ++++++++++++++ README.md | 6 ++++++ 2 files changed, 20 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..3db8e74 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,14 @@ +FROM python:3.11-slim-buster + +# Set the working directory in the container +WORKDIR /app + +# Copy the requirements file and install dependencies +COPY requirements.txt . +RUN pip install --no-cache-dir -r requirements.txt + +# Copy the scanner.py script +COPY scanner.py . + +# Set the entrypoint to execute the script with the URL argument +ENTRYPOINT ["python3", "scanner.py"] diff --git a/README.md b/README.md index c2bc6b0..08dbd8c 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,12 @@ The `--windows` flag switches the payload from Unix shell (`echo $((41*271))`) t pip install -r requirements.txt ``` +## Docker installation +``` +docker build -t react2shell-scanner . +docker container run --rm -ti react2shell-scanner:latest -v -u https://example.com +``` + ## Usage Scan a single host: