Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down