From 8dfbb2c70bd7e5eb70b1dc43d3d285cc552d72c5 Mon Sep 17 00:00:00 2001 From: Alton Johnson Date: Mon, 28 Nov 2022 22:54:11 -0500 Subject: [PATCH] Added Dockerfile --- Dockerfile | 8 ++------ README.md | 8 ++++++++ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index c647fb4..df62d60 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,7 @@ -FROM ubuntu:latest - -ARG DEBIAN_FRONTEND=noninteractive +FROM python:alpine COPY . . -RUN apt update && \ - apt install python3-pip python-is-python3 -y && \ - pip install -r requirements.txt +RUN pip install -r requirements.txt ENTRYPOINT ["python3", "sublist3r.py"] diff --git a/README.md b/README.md index c860b29..48a6e6c 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,13 @@ Sublist3r is a python tool designed to enumerate subdomains of websites using OS git clone https://github.com/aboul3la/Sublist3r.git ``` +## Build and run via docker + +``` +docker build . -t sublist3r +docker run --rm -it sublist3r -d example.com +``` + ## Recommended Python Version: Sublist3r currently supports **Python 2** and **Python 3**. @@ -174,6 +181,7 @@ Sublist3r is licensed under the GNU GPL license. take a look at the [LICENSE](ht * [TheRook](https://github.com/TheRook) - The bruteforce module was based on his script **subbrute**. * [Bitquark](https://github.com/bitquark) - The Subbrute's wordlist was based on his research **dnspop**. +* [altjx](https://github.com/altjx) - Contributed with Dockerfile. ## Thanks