punk-security / dnsReaper

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

--filename option not working (file not found) #110

Closed atikrahman1 closed 2 years ago

atikrahman1 commented 2 years ago

Seems like the --filename function is broken somehow no matter what is says the file not found

docker run punksecurity/dnsreaper --filename sub.txt file --out stdout

image

imnotbrandon commented 2 years ago

Hi there, Docker containers run in an isolated environment, so the reason why the file was not found is because it doesn't exist in the container.

To use a file from the host system, you'll need to map your directory e.g. docker run -v /home/atikqur/sub.txt:/tmp/sub.txt punksecurity/dnsreaper file --filename /tmp/sub.txt --out stdout

danieloateslee commented 2 years ago

Closing the issue as the answer was in the https://hub.docker.com/r/punksecurity/dnsreaper Readme.