[PATCH] small improvement to mysql_unpassworded.nasl

From: Vincent Renardias (vincentat_private)
Date: Thu Mar 06 2003 - 01:15:25 PST

  • Next message: Javier Fernandez-Sanguino: "Re: ipswitch IMail web interface"

    --- mysql_unpassworded.nasl     5 Mar 2003 17:39:16 -0000       1.15
    +++ mysql_unpassworded.nasl     6 Mar 2003 09:12:16 -0000
    @@ -57,6 +57,10 @@
     if(strlen(r1) < 7)exit(0);
     if (" is not allowed to connect to this MySQL" >< r1) exit(0);
     if ("Access denied" >< r1)exit(0);
    +if ("is blocked because of many connection errors" >< r1) {
    +  security_note(port:port, data:"The MySQL server is temporarily
    refusing connections.\n");
    +  exit(0);
    +}
     
     str = raw_string(0x0A, 0x00, 0x00, 0x01, 0x85, 0x04,
                     0x00, 0x00, 0x80, 0x72, 0x6F, 0x6F, 0x74, 0x00);
    



    This archive was generated by hypermail 2b30 : Thu Mar 06 2003 - 01:17:23 PST