netmap.js
netmap.js copied to clipboard
Reporting open port when using a non existing domain
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.
Interesting. What browser/OS are you using?
Happy to look into any improvements to the accuracy or consider any ideas to catch this case.
I'm using Chrome 70 on MacOs Mojave.