mirror of
https://github.com/nmap/nmap.git
synced 2026-01-28 17:19:05 +00:00
1ea0135dc825246dd4726aad8766a5555cb5f0b1
minutes. Part of what printStatusMessage does is display the total elapsed time. The code looked like this: log_write(LOG_STDOUT, "Stats: %d:%02d:%02d elapsed; %d hosts completed (%d up), %d undergoing %s\n", time/60/24, time/60 % 24, time % 60, o.numhosts_scanned - o.numhosts_scanning, o.numhosts_up, o.numhosts_scanning, scantype2str(o.current_scantype)); where time is the number of seconds since the program started. However, this code acts as though each hour has only 24 minutes. That is, after 0:23:59 it would become 1:00:00. This commit changes the 24s to 60s to make it work right.
Here is some documentation for Nmap, but these files are much less comprehensive than what you'll find at the actual Nmap documentation site ( http://nmap.org ).
Description
Languages
C
37.5%
Lua
28.1%
C++
16.8%
Shell
5.8%
Python
4.2%
Other
7.3%