harryhorton / node-nmap

NPM package for interfacing with local NMAP installation
MIT License
67 stars 26 forks source link

Scan progress #2

Closed harryhorton closed 9 years ago

harryhorton commented 9 years ago

have the ability to call on a scan in progress for completion percentage.

This requires more verbose logging from NMAP and parsing of all new data as the scan progresses.

harryhorton commented 9 years ago

Information on output found at https://nmap.org/book/man-output.html

harryhorton commented 9 years ago

Can only get status for individual tasks. More research required. A queuing system with individual scans would allow for a better calculation, however it may be slower.

harryhorton commented 9 years ago

Currently works as percentComplete on a queue scan but only for a run or next as it is based on the current index / length of queue.