netmap.js icon indicating copy to clipboard operation
netmap.js copied to clipboard

Reporting open port when using a non existing domain

Open 0ca opened this issue 6 years ago • 2 comments

This reports an open port for the non existent domain:

import NetMap from 'netmap.js'

const netmap = new NetMap()
const hosts = ['nonexistentdomain.com']
const ports = [80]

netmap.tcpScan(hosts, ports).then(results => {
  console.log(results)
})

I guess the DNS failure makes the delta to be similar to an open port.

0ca avatar Jan 16 '19 23:01 0ca

Interesting. What browser/OS are you using?

Happy to look into any improvements to the accuracy or consider any ideas to catch this case.

serain avatar Jan 17 '19 09:01 serain

I'm using Chrome 70 on MacOs Mojave.

0ca avatar Jan 17 '19 13:01 0ca