You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NmapScan
1) runs NMAP
✓ accepts space separated command
✓ accepts multiple hosts (84ms)
✓ returns failure data for bad requests (55ms)
quickScan
✓ scans range of hosts (85ms)
✓ returns failure data for bad requests
osAndPortScan
2) scans hosts for open ports and OS data
✓ returns failure data for bad requests (295ms)
6 passing (11s)
2 failing
1) NmapScan runs NMAP:
Error: timeout of 10000ms exceeded. Ensure the done() callback is being called in this test.
2) osAndPortScan scans hosts for open ports and OS data:
Uncaught Error: Unhandled "error" event. (TCP/IP fingerprinting (for OS scan) requires root privileges.
QUITTING!
)
at ChildProcess.child.on (index.js:194:14)
at maybeClose (internal/child_process.js:925:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
npm test
:when I run
sudo npm test
it goes ok.My
npm ls --depth=1
MacOS v10.13.2
Node v8.9.4
npm v5.6.0
nmap 7.60
The text was updated successfully, but these errors were encountered: