Breaks on Linux / OS X when no hostname is present.
tstrimple opened this issue · 2 comments
tstrimple commented
The scan breaks due to this line:
https://github.com/Johnhhorton/node-nmap/blob/master/index.js#L124
Non-Windows operating systems return "\n", not "\r\n".
harryhorton commented
Thanks for catching that. I'll check this on a vm and fix it.
harryhorton commented
Added additional check for \n