#862748 libnmap-parser-perl: not all service fields are parsed

#862748#5
Date:
2017-05-16 15:18:14 UTC
From:
To:
You should parse more ;)
(Generally you should parse all other fields, known or else.)
--- Parser.pm.orig      2017-05-16 17:13:54.717701138 +0200
+++ Parser.pm   2017-05-16 17:13:58.997635383 +0200
@@ -434,6 +434,9 @@
         $service_hashref->{method}      = $service->{att}->{method};
         $service_hashref->{confidence}  = $service->{att}->{conf};
         $service_hashref->{fingerprint} = $service->{att}->{servicefp};
+       # more
+       $service_hashref->{hostname}    = $service->{att}->{hostname};
+       $service_hashref->{ostype}      = $service->{att}->{ostype};
     }

     return $service_hashref;

#862748#10
Date:
2017-05-16 20:42:25 UTC
From:
To:
Control: forwarded -1 https://rt.cpan.org/Ticket/Display.html?id=96867

Thanks, I've added your proposal to to upstream ticket at
https://rt.cpan.org/Ticket/Display.html?id=96867
where a similar change was already requested.


Cheers,
gregor

#862748#21
Date:
2017-09-25 12:23:59 UTC
From:
To:
Date: Sat, 20 May 2017 17:16:33  0200