elceef / dnstwist

Domain name permutation engine for detecting homograph phishing attacks, typo squatting, and brand impersonation
https://dnstwist.it
Apache License 2.0
4.81k stars 764 forks source link

The docker image is not working #111

Closed sucramx closed 3 years ago

sucramx commented 3 years ago

Hello,

I have pulled the docker image from the docker hub. (https://hub.docker.com/r/elceef/dnstwist) The image pulls successfully to my system, but when I go to run the container it instantly crashes.

I have tried a number of things, but no luck. I do not see any older images besides latest, so I am not sure what else to try.

If you could look into this it would be greatly appreciated!

Image ID I pulled: f1f1e4857cf6

Also I am on the latest Docker, I am wondering if that could have something to do with it. See Attached Image.

DockerVersion

elceef commented 3 years ago

Is there any error message?

sucramx commented 3 years ago

Unfortunately no, zero. image

Just outputting the help information from the script.

elceef commented 3 years ago

I don't see any technical issue here. You just need to provide command like arguments - starting with domain name you want to check. Otherwise, help screen is displayed.

sucramx commented 3 years ago

You can not provide command line arguments to a container in docker that is not running. If you notice in the top left hand corner of the screenshot I provided it says: Exited (0). Meaning that the container is not running, which is the issue. I just showed the logs to prove there was no error messages. When you start the container it spits out the help information than crashes. Either way though I have just started using it locally running python on my computer and passing command line arguments now instead of using docker. I just thought I would bring this to your attention as it does not work. Have you tried running it in the latest docker yourself? Does it work?

elceef commented 3 years ago

Keep in mind this is not a service, but command line tool. Each time a new container will be created and exit after scan is complete (or in this case - help message displayed).

You should able to run it from your terminal like this:

docker run --rm elceef/dnstwist github.com