urbanadventurer / WhatWeb

Next generation web scanner
https://www.morningstarsecurity.com/research/whatweb
GNU General Public License v2.0
5.46k stars 900 forks source link

Creation of docker image #369

Closed Anon-Exploiter closed 3 years ago

Anon-Exploiter commented 3 years ago

Didn't find any Docker image of the script (needed to run it without setting up any dependencies locally) -- This will do.

Building:

git clone https://github.com/urbanadventurer/WhatWeb
cd WhatWeb
docker build -t whatweb .

Running:

docker run -it --rm whatweb --help
docker run -it --rm whatweb -v reddit.com
Anon-Exploiter commented 3 years ago

Build/running screenshot:

image

Anon-Exploiter commented 3 years ago

Reduced the image size from 931MB to 113MB using ruby:alpine.

Anon-Exploiter commented 3 years ago

@urbanadventurer can you approve this, please?

urbanadventurer commented 3 years ago

Hi @Anon-Exploiter, thanks for your interest in WhatWeb.

Lots of people have made Docker images for WhatWeb with different strengths and weaknesses, varying levels of ruby gem support for advanced features, and varying levels of security and user friendliness.

At this stage I'll have to decline your pull request. Sorry.

Anon-Exploiter commented 3 years ago

Sure, thanks for getting back to me.

Any plan to introduce any official docker image in the future?

urbanadventurer commented 3 years ago

It's on my own mental roadmap but it's not a high priority. Maybe I'll do it this year.

urbanadventurer commented 3 years ago

Maybe I'll make multiple docker images, one mega image and one light one.

Anon-Exploiter commented 3 years ago

Cool, thanks!