punk-security / dnsReaper

dnsReaper - subdomain takeover tool for attackers, bug bounty hunters and the blue team!
GNU Affero General Public License v3.0
1.93k stars 150 forks source link

User support: How to run on Kali Linux #116

Closed Steiner-254 closed 1 year ago

Steiner-254 commented 1 year ago

~ Running the tool has got some errors:

┌──(root💀kali)-[/home/steiner254/dnsReaper] └─# docker run punksecurity/dnsreaper single --domain target.com Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg. Error: short-name "punksecurity/dnsreaper" did not resolve to an alias and no unqualified-search registries are defined in "/etc/containers/registries.conf"

┌──(root💀kali)-[/home/steiner254/dnsReaper] └─#

SimonGurney commented 1 year ago

Hi!

The error means your docker installation doesn't work because its not finding our dockerhub, which is the default docker container registry.

I haven't ran containers on Kali, but we'll take a look today and get you some instructions

jw-barker commented 1 year ago

Hi, This is an issue with podman and because shortnames aren't resolved by default.

You can either run the command: docker run docker.io/punksecurity/dnsreaper single --domain target.com

Alternatively you can add the following to the registries.conf file which will then resolve shortnames by default. unqualified-search-registries = ["docker.io"]

Steiner-254 commented 1 year ago

Alright, thanks :)