projectdiscovery/dnsprobe

Installed via homebrew and docker, never produces any output.

plambert opened this issue · 3 comments

$ brew update
Updated Homebrew from 2b33f995f to 0fdf8f2e6.
# ... output skipped ...
$ brew install dnsprobe
==> Downloading https://homebrew.bintray.com/bottles/dnsprobe-1.0.3.mojave.bottle.tar.gz
Already downloaded: /Users/plambert/Library/Caches/Homebrew/downloads/68bced0371ed5c938a4c56d0e3e9120d7edcb8bce173caa8b26042c9e0d8e164--dnsprobe-1.0.3.mojave.bottle.tar.gz
==> Pouring dnsprobe-1.0.3.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/dnsprobe/1.0.3: 5 files, 6.7MB
==> Installation times
dnsprobe                  0.218 s
$ echo yahoo.com | dnsprobe

       __                            __       
  ____/ /___  _________  _________  / /_  ___ 
 / __  / __ \/ ___/ __ \/ ___/ __ \/ __ \/ _ \
/ /_/ / / / (__  ) /_/ / /  / /_/ / /_/ /  __/
\__,_/_/ /_/____/ .___/_/   \____/_.___/\___/ 
               /_/                            										  

		projectdiscovery.io

[WRN] Use with caution. You are responsible for your actions
[WRN] Developers assume no liability and are not responsible for any misuse or damage.
$ 

I have tried putting domains in a file and using the -l option, using the -s option and a file with the dns server listed, everything, and I never receive any output. I've tried specifying A records, json output format, etc, and still no output whatsoever.

I also tried running it in Docker:

$ git clone https://github.com/projectdiscovery/dnsprobe.git
# ...
$ cd dnsprobe
$ docker build -t projectdiscovery/dnsprobe .
# ...
$ echo yahoo.com | docker run -i projectdiscovery/dnsprobe

       __                            __       
  ____/ /___  _________  _________  / /_  ___ 
 / __  / __ \/ ___/ __ \/ ___/ __ \/ __ \/ _ \
/ /_/ / / / (__  ) /_/ / /  / /_/ / /_/ /  __/
\__,_/_/ /_/____/ .___/_/   \____/_.___/\___/ 
               /_/                            										  

		projectdiscovery.io

[WRN] Use with caution. You are responsible for your actions
[WRN] Developers assume no liability and are not responsible for any misuse or damage.
$

Still no output.

What am I doing wrong?

Hi @plambert,

I'm not sure what going on that side, I just tried docker and it's working fine

> echo yahoo.com | docker run -i projectdiscovery/dnsprobe -silent

yahoo.com 98.138.219.231
yahoo.com 72.30.35.10
yahoo.com 98.137.246.7
yahoo.com 98.138.219.232
yahoo.com 98.137.246.8
yahoo.com 72.30.35.9

Is there a way to debug the tool? For example, can it tell me what requests it makes to where, and what response it gets, so I can try the same from outside the tool to be sure they're working?

It returns immediately, so I don't think it's timing out on anything.

Hey @plambert,

-raw flag will show all the details you need.

echo test.com | dnsprobe -raw

;; opcode: QUERY, status: NOERROR, id: 3707
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;test.com.	IN	 A

;; ANSWER SECTION:
test.com.	3386	IN	A	69.172.200.235