Vhost Patch

Erik Stephens <[email protected]> Wed, 8 Jun 2005 12:49:55 -0700
Newsgroups gmane.comp.security.nessus.devel
Message-ID <[email protected]>
Attached is a very simple patch to keep nessus from overriding the  
given IP address with the DNS'd IP address of a given domain name, as  
when the host list contains something like:

   10.0.0.1[www.foo.com]

Can we get this included?


Best regards,
Erik

_______________________________________________
Nessus-devel mailing list
[email protected]
http://mail.nessus.org/mailman/listinfo/nessus-devel
vhost.patch (application/octet-stream, 278 B)
--- nessus-libraries/libhosts_gatherer/hg_add_hosts.c.orig	2005-06-08 12:50:55.000000000 -0700
+++ nessus-libraries/libhosts_gatherer/hg_add_hosts.c	2005-06-08 12:49:53.000000000 -0700
@@ -279,5 +279,4 @@
   {
    t[0] = '\0';
-   ip = hg_resolv (&q [1]);
    q[0] = '\0';
   }