Nmap Development mailing list archives

Re: Problem with http-virustotal.nse and shortport.lua


From: Daniel Miller <bonsaiviking () gmail com>
Date: Tue, 27 May 2014 21:37:16 -0500

Jost,

Thank you for this bug report. We have applied your patch as part of
r32900, so this issue ought to be solved.

Dan


On Fri, Apr 25, 2014 at 8:08 AM, Jost Krieger <Jost.Krieger+nmap () rub de>wrote:

Some time ago, http-virustotal.nse stopped working for me (I use this
heavily).

My analysis showed the following fixed it for me, but I'm not sure if
that has other implications.

Index: nselib/shortport.lua
===================================================================
--- nselib/shortport.lua        (revision 32850)
+++ nselib/shortport.lua        (working copy)
@@ -197,7 +197,7 @@
 -- @usage
 -- portrule = shortport.ssl
 function ssl(host, port)
-  return port.version.service_tunnel == "ssl" or
+  return port.version and port.version.service_tunnel == "ssl" or
     port_or_service(LIKELY_SSL_PORTS, LIKELY_SSL_SERVICES, {"tcp",
"sctp"})(host, port)
 end

Mit freundlichen Grüßen
Jost Krieger
--
| Öffnen und lesen Sie Ihre Briefe mit der Küchenmaschine?         |
| Aber Ihre E-Mail lesen und verwalten Sie mit Outlook?            |
| Postmaster, JAPH, manchmal Wahrsager               am RZ der RUB |
_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

Current thread: