Thanks Pavel...
[root@john root]# diff -c dns_xfer.nasl dns_xfer.nasl.patched
*** dns_xfer.nasl Wed Sep 4 15:00:53 2002
--- dns_xfer.nasl.patched Wed Sep 4 23:16:05 2002
***************
*** 158,172 ****
len = len_hi * 256;
len = len + len_lo;
- incoming = "";
- # don't want an infinite loop, if answer is illegal
if (len < 0) exit(0);
- # only interessted in incoming[7]
if (len > 8) len = 8;
! while(strlen(incoming) < len)
! {
! incoming = string(incoming, recv(socket:soctcp,length:len));
! }
if( (ord(incoming[7])) >= 0x01) { # Is ANCOUNT == 1
security_warning(53);
--- 158,166 ----
len = len_hi * 256;
len = len + len_lo;
if (len < 0) exit(0);
if (len > 8) len = 8;
! incoming = recv(socket:soctcp, length:len);
if( (ord(incoming[7])) >= 0x01) { # Is ANCOUNT == 1
security_warning(53);
John Lampe
https://f00dikator.hn.org/
"Knowledge will forever govern ignorance, and a people who mean to be their
own governors, must arm themselves with the power knowledge gives. A popular
government without popular information or the means of acquiring it, is but
a prologue to a farce or a tragedy or perhaps both."
--James Madison
-
[EMAIL PROTECTED]: general discussions about Nessus.
* To unsubscribe, send a mail to [EMAIL PROTECTED] with
"unsubscribe nessus" in the body.