NMap Scan dont insert all ports discovered
Brought to you by:
greg_k,
mjbrenegan
I use version 1.0 Final
The problem was the regular expression on port_scan.pl line 194, its doesnt match if the description have a "-" and if have some description dont match ever
Change
(\d+)/(\w+)\s+(\w+)\s+([\w|-]*)\s*(.*)
to
(\d+)/(\w+)\s+(\w+)\s+([\w|-]*)\s*(.*)
It change match port with name with - and when some port have a version name or not , its happened when some version that dont show a white space at final and dont show description.
Change
(\d+)/(\w+)\s+(\w+)\s+(\w+)\s+(.*)
to
(\d+)/(\w+)\s+(\w+)\s+([\w|-]*)\s*(.*)