Subject: | Protocol Extraction Bug |
Date: | Thu, 24 May 2012 13:09:00 +0100 |
To: | bug-Nmap-Parser [...] rt.cpan.org |
From: | deanx <deanx [...] 65535.com> |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi, I was using the Nmap:Parser module (v1.21) and realised that I
could not correctly extract the protocol from a service object. I
tracked down the problem and it looks like the code tries to extract
the protocol from the wrong place when it populates the object as the
xml is parsed in
sub __host_service_tag_hdlr {
Find attached a small patch that resolves this issue.
Cheers
deanx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJPviTbAAoJEMaiDapsQNGv2lkH/1Kr4PlBzk68BDEz0G+laCAt
fP01Z2j+ZrDZvYgLNN68lg/nXCw1sJdKLeXMZwNkfP4rkvq7ooakAfU3cJGyymOU
J+A/Sm7FmKvjM5cJDc107J8NEyA4UlxnoSmvoKi/F8h7IWdViOwJ6vNuTdchqpvL
UkuKyOSepqqc5gBvkZEJJU1idQbIfWquOylW5sDEqyFyQsmOOJtAyZbarSmut1/C
sNwMlhNFMc7ig4BZyYAjawuwiQuZuij0gdFdgvByjVS2gnSfI/CnPiES6ccO2YIs
YWSzqB17jj5RxRaQJpcUAt8Oc7ZDa23MgWLZHD0dfMNydfpIQJswFlYuqlJUN8o=
=PRW4
-----END PGP SIGNATURE-----
Message body is not shown because sender requested not to inline it.
Message body not shown because it is not plain text.