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
15 changes: 10 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
FROM ubuntu:18.04
FROM python:3-slim

RUN mkdir /app
WORKDIR /usr/src/app

ADD . /app
COPY requirements.txt ./
RUN apt update && apt install -y gcc g++ && \
pip3 install --no-cache-dir -r requirements.txt && \
apt remove -y gcc g++ && \
apt autoremove -y && \
rm -rf /var/lib/apt/lists/*

RUN apt-get update; apt-get install -y python3 python3-pip
COPY . .

RUN cd /app && pip3 install -r test-requirements.txt && python3 setup.py install
RUN python setup.py install

ENTRYPOINT ["VHostScan"]
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ A virtual host scanner that can be used with pivot tools, detect catch-all scena
![VHOSTScan Feature Map](https://github.com/codingo/codingo.github.io/blob/master/assets/featureMap.PNG)

# Install on docker (recommended)
1. ´git clone https://github.com/codingo/VHostScan.git´
2. ´cd VHostScan´
3. ´docker build -t vhostscan .`
1. `git clone https://github.com/codingo/VHostScan.git`
2. `cd VHostScan`
3. `docker build -t vhostscan .`

Then run application `docker run --rm -it vhostscan -t´
Then run application `docker run --rm -it vhostscan -t`

# Install Requirements

Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
setuptools<81
dnspython>=2.4.0
fuzzywuzzy[speedup]>=0.18.0
numpy>=1.24.0
Expand Down