[Openvas-commits] r3547 - in trunk/openvas-plugins: . scripts

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri May 29 23:24:37 CEST 2009


Author: jan
Date: 2009-05-29 23:24:31 +0200 (Fri, 29 May 2009)
New Revision: 3547

Modified:
   trunk/openvas-plugins/ChangeLog
   trunk/openvas-plugins/scripts/ldu_sql_injection.nasl
   trunk/openvas-plugins/scripts/limbo_multiple_flaws.nasl
   trunk/openvas-plugins/scripts/linksys_multiple_vulns.nasl
   trunk/openvas-plugins/scripts/mailcarrier_smtp_overflow.nasl
   trunk/openvas-plugins/scripts/mailenable_httpmail_content_length_overflow.nasl
   trunk/openvas-plugins/scripts/mailenable_httpmail_get_overflow.nasl
   trunk/openvas-plugins/scripts/mailenable_imap_overflows.nasl
   trunk/openvas-plugins/scripts/mailenable_imap_rename_dos.nasl
   trunk/openvas-plugins/scripts/mailenable_imap_search_dos.nasl
   trunk/openvas-plugins/scripts/mailenable_smtp_dos.nasl
   trunk/openvas-plugins/scripts/mailman_password_retrieval.nasl
   trunk/openvas-plugins/scripts/mailman_privatepy_directory_traversal.nasl
   trunk/openvas-plugins/scripts/mdaemon_mail_server_dos.nasl
   trunk/openvas-plugins/scripts/merak_multiple_vulns.nasl
   trunk/openvas-plugins/scripts/mercur_imap_buffer_overflow.nasl
   trunk/openvas-plugins/scripts/mercuryboard_multiple_vuln.nasl
   trunk/openvas-plugins/scripts/minishare_overflow.nasl
   trunk/openvas-plugins/scripts/mod_ssl_offby1.nasl
   trunk/openvas-plugins/scripts/moodle_php_reply_variable_xss.nasl
   trunk/openvas-plugins/scripts/moodle_sql_inject.nasl
   trunk/openvas-plugins/scripts/msadcs_dll.nasl
   trunk/openvas-plugins/scripts/msrpc-spike27.nasl
   trunk/openvas-plugins/scripts/msrpc_dcom.nasl
   trunk/openvas-plugins/scripts/mssql_hello_overflow.nasl
   trunk/openvas-plugins/scripts/mssql_version.nasl
   trunk/openvas-plugins/scripts/mtl_remote_file_include.nasl
   trunk/openvas-plugins/scripts/mvnforum_search_xss.nasl
   trunk/openvas-plugins/scripts/myevent_multiple_flaws.nasl
   trunk/openvas-plugins/scripts/myserver_post_dos.nasl
   trunk/openvas-plugins/scripts/nbmember_info_disclosure.nasl
   trunk/openvas-plugins/scripts/niprint_dos.nasl
   trunk/openvas-plugins/scripts/nsm2004_dos.nasl
Log:
* scripts/mailenable_imap_rename_dos.nasl, scripts/mailenable_imap_overflows.nasl,
scripts/niprint_dos.nasl, scripts/ldu_sql_injection.nasl,
scripts/mercur_imap_buffer_overflow.nasl, scripts/mailenable_imap_search_dos.nasl,
scripts/nsm2004_dos.nasl, scripts/mailenable_httpmail_content_length_overflow.nasl,
scripts/limbo_multiple_flaws.nasl, scripts/linksys_multiple_vulns.nasl,
scripts/mercuryboard_multiple_vuln.nasl, scripts/mssql_version.nasl,
scripts/myevent_multiple_flaws.nasl, scripts/mailcarrier_smtp_overflow.nasl,
scripts/myserver_post_dos.nasl, scripts/mdaemon_mail_server_dos.nasl,
scripts/moodle_php_reply_variable_xss.nasl, scripts/mod_ssl_offby1.nasl,
scripts/minishare_overflow.nasl, scripts/msrpc-spike27.nasl,
scripts/nbmember_info_disclosure.nasl, scripts/mvnforum_search_xss.nasl,
scripts/mailman_password_retrieval.nasl, scripts/mailenable_smtp_dos.nasl,
scripts/msrpc_dcom.nasl, scripts/mailman_privatepy_directory_traversal.nasl,
scripts/mailenable_httpmail_get_overflow.nasl, scripts/mssql_hello_overflow.nasl,
scripts/mtl_remote_file_include.nasl, scripts/merak_multiple_vulns.nasl,
scripts/msadcs_dll.nasl, scripts/moodle_sql_inject.nasl:
Removed test for presence of function "script_xref".
This function is standard from OpenVAS 1.0 on.



Modified: trunk/openvas-plugins/ChangeLog
===================================================================
--- trunk/openvas-plugins/ChangeLog	2009-05-29 20:58:49 UTC (rev 3546)
+++ trunk/openvas-plugins/ChangeLog	2009-05-29 21:24:31 UTC (rev 3547)
@@ -1,5 +1,26 @@
 2009-05-29  Jan-Oliver Wagner <jan-oliver.wagner at greenbone.net>
 
+	* scripts/mailenable_imap_rename_dos.nasl, scripts/mailenable_imap_overflows.nasl,
+	scripts/niprint_dos.nasl, scripts/ldu_sql_injection.nasl,
+	scripts/mercur_imap_buffer_overflow.nasl, scripts/mailenable_imap_search_dos.nasl,
+	scripts/nsm2004_dos.nasl, scripts/mailenable_httpmail_content_length_overflow.nasl,
+	scripts/limbo_multiple_flaws.nasl, scripts/linksys_multiple_vulns.nasl,
+	scripts/mercuryboard_multiple_vuln.nasl, scripts/mssql_version.nasl,
+	scripts/myevent_multiple_flaws.nasl, scripts/mailcarrier_smtp_overflow.nasl,
+	scripts/myserver_post_dos.nasl, scripts/mdaemon_mail_server_dos.nasl,
+	scripts/moodle_php_reply_variable_xss.nasl, scripts/mod_ssl_offby1.nasl,
+	scripts/minishare_overflow.nasl, scripts/msrpc-spike27.nasl,
+	scripts/nbmember_info_disclosure.nasl, scripts/mvnforum_search_xss.nasl,
+	scripts/mailman_password_retrieval.nasl, scripts/mailenable_smtp_dos.nasl,
+	scripts/msrpc_dcom.nasl, scripts/mailman_privatepy_directory_traversal.nasl,
+	scripts/mailenable_httpmail_get_overflow.nasl, scripts/mssql_hello_overflow.nasl,
+	scripts/mtl_remote_file_include.nasl, scripts/merak_multiple_vulns.nasl,
+	scripts/msadcs_dll.nasl, scripts/moodle_sql_inject.nasl:
+	Removed test for presence of function "script_xref".
+	This function is standard from OpenVAS 1.0 on.
+
+2009-05-29  Jan-Oliver Wagner <jan-oliver.wagner at greenbone.net>
+
 	* scripts/iis_ida_isapi.nasl,
 	scripts/ilohamail_arbitrary_file_access_via_lang.nasl,
 	scripts/iis_decode_bug.nasl, scripts/ipswitch_IMail_bo.nasl,

Modified: trunk/openvas-plugins/scripts/ldu_sql_injection.nasl
===================================================================
--- trunk/openvas-plugins/scripts/ldu_sql_injection.nasl	2009-05-29 20:58:49 UTC (rev 3546)
+++ trunk/openvas-plugins/scripts/ldu_sql_injection.nasl	2009-05-29 21:24:31 UTC (rev 3547)
@@ -50,10 +50,7 @@
  script_id(19678);
  script_cve_id("CVE-2005-2674", "CVE-2005-2675", "CVE-2005-2780");
  script_bugtraq_id(14618, 14619, 14677);
- if (defined_func("script_xref"))
- {
-    script_xref(name:"OSVDB", value:"19298");
- }
+ script_xref(name:"OSVDB", value:"19298");
  script_version ("$Revision$");
 
  name["english"] = "Land Down Under <= 800 Multiple Vulnerabilities";

Modified: trunk/openvas-plugins/scripts/limbo_multiple_flaws.nasl
===================================================================
--- trunk/openvas-plugins/scripts/limbo_multiple_flaws.nasl	2009-05-29 20:58:49 UTC (rev 3546)
+++ trunk/openvas-plugins/scripts/limbo_multiple_flaws.nasl	2009-05-29 21:24:31 UTC (rev 3547)
@@ -52,15 +52,13 @@
 
  script_cve_id("CVE-2005-4317", "CVE-2005-4318", "CVE-2005-4319", "CVE-2005-4320");
  script_bugtraq_id(15871);
- if (defined_func("script_xref")) {
-   script_xref(name:"OSVDB", value:"21753");
-   script_xref(name:"OSVDB", value:"21754");
-   script_xref(name:"OSVDB", value:"21755");
-   script_xref(name:"OSVDB", value:"21756");
-   script_xref(name:"OSVDB", value:"21757");
-   script_xref(name:"OSVDB", value:"21758");
-   script_xref(name:"OSVDB", value:"21759");
- }
+ script_xref(name:"OSVDB", value:"21753");
+ script_xref(name:"OSVDB", value:"21754");
+ script_xref(name:"OSVDB", value:"21755");
+ script_xref(name:"OSVDB", value:"21756");
+ script_xref(name:"OSVDB", value:"21757");
+ script_xref(name:"OSVDB", value:"21758");
+ script_xref(name:"OSVDB", value:"21759");
  
  name["english"] = "Limbo CMS Multiple Vulnerabilities";
  script_name(english:name["english"]);

Modified: trunk/openvas-plugins/scripts/linksys_multiple_vulns.nasl
===================================================================
--- trunk/openvas-plugins/scripts/linksys_multiple_vulns.nasl	2009-05-29 20:58:49 UTC (rev 3546)
+++ trunk/openvas-plugins/scripts/linksys_multiple_vulns.nasl	2009-05-29 21:24:31 UTC (rev 3547)
@@ -8,13 +8,11 @@
  script_id(20096);
  script_bugtraq_id(14822);
  script_cve_id("CVE-2005-2799", "CVE-2005-2914", "CVE-2005-2915", "CVE-2005-2916");
- if (defined_func("script_xref")) {
-   script_xref(name:"OSVDB", value:"19386");
-   script_xref(name:"OSVDB", value:"19387");
-   script_xref(name:"OSVDB", value:"19388");
-   script_xref(name:"OSVDB", value:"19389");
-   script_xref(name:"OSVDB", value:"19390");
- } 
+ script_xref(name:"OSVDB", value:"19386");
+ script_xref(name:"OSVDB", value:"19387");
+ script_xref(name:"OSVDB", value:"19388");
+ script_xref(name:"OSVDB", value:"19389");
+ script_xref(name:"OSVDB", value:"19390");
  script_version("$Revision$");
  
  name["english"] = "Linksys multiple remote vulnerabilities";

Modified: trunk/openvas-plugins/scripts/mailcarrier_smtp_overflow.nasl
===================================================================
--- trunk/openvas-plugins/scripts/mailcarrier_smtp_overflow.nasl	2009-05-29 20:58:49 UTC (rev 3546)
+++ trunk/openvas-plugins/scripts/mailcarrier_smtp_overflow.nasl	2009-05-29 21:24:31 UTC (rev 3547)
@@ -10,9 +10,7 @@
 
   script_cve_id("CVE-2004-1638");
   script_bugtraq_id(11535);
-  if (defined_func("script_xref")) {
-    script_xref(name:"OSVDB", value:"11174");
-  }
+  script_xref(name:"OSVDB", value:"11174");
 
   name["english"] = "MailCarrier SMTP Buffer Overflow Vulnerability";
   script_name(english:name["english"]);

Modified: trunk/openvas-plugins/scripts/mailenable_httpmail_content_length_overflow.nasl
===================================================================
--- trunk/openvas-plugins/scripts/mailenable_httpmail_content_length_overflow.nasl	2009-05-29 20:58:49 UTC (rev 3546)
+++ trunk/openvas-plugins/scripts/mailenable_httpmail_content_length_overflow.nasl	2009-05-29 21:24:31 UTC (rev 3547)
@@ -9,9 +9,7 @@
   script_version("$Revision$");
 
   script_bugtraq_id(10838);
-  if (defined_func("script_xref")) {
-    script_xref(name:"OSVDB", value:"8301");
-  }
+  script_xref(name:"OSVDB", value:"8301");
 
   name["english"] = "MailEnable HTTPMail Service Content-Length Overflow Vulnerability";
   script_name(english:name["english"]);

Modified: trunk/openvas-plugins/scripts/mailenable_httpmail_get_overflow.nasl
===================================================================
--- trunk/openvas-plugins/scripts/mailenable_httpmail_get_overflow.nasl	2009-05-29 20:58:49 UTC (rev 3546)
+++ trunk/openvas-plugins/scripts/mailenable_httpmail_get_overflow.nasl	2009-05-29 21:24:31 UTC (rev 3547)
@@ -9,9 +9,7 @@
   script_bugtraq_id(10312);
   script_version("$Revision$");
 
-  if (defined_func("script_xref")) {
-    script_xref(name:"OSVDB", value:"6037");
-  }
+  script_xref(name:"OSVDB", value:"6037");
 
   name["english"] = "MailEnable HTTPMail Service GET Overflow Vulnerability";
   script_name(english:name["english"]);

Modified: trunk/openvas-plugins/scripts/mailenable_imap_overflows.nasl
===================================================================
--- trunk/openvas-plugins/scripts/mailenable_imap_overflows.nasl	2009-05-29 20:58:49 UTC (rev 3546)
+++ trunk/openvas-plugins/scripts/mailenable_imap_overflows.nasl	2009-05-29 21:24:31 UTC (rev 3547)
@@ -10,10 +10,8 @@
 
   script_cve_id("CVE-2004-2501");
   script_bugtraq_id(11755);
-  if (defined_func("script_xref")) {
-    script_xref(name:"OSVDB", value:"12135");
-    script_xref(name:"OSVDB", value:"12136");
-  }
+  script_xref(name:"OSVDB", value:"12135");
+  script_xref(name:"OSVDB", value:"12136");
 
   name["english"] = "MailEnable IMAP Service Remote Buffer Overflows";
   script_name(english:name["english"]);

Modified: trunk/openvas-plugins/scripts/mailenable_imap_rename_dos.nasl
===================================================================
--- trunk/openvas-plugins/scripts/mailenable_imap_rename_dos.nasl	2009-05-29 20:58:49 UTC (rev 3546)
+++ trunk/openvas-plugins/scripts/mailenable_imap_rename_dos.nasl	2009-05-29 21:24:31 UTC (rev 3547)
@@ -42,9 +42,7 @@
 
   script_cve_id("CVE-2005-3813");
   script_bugtraq_id(15556);
-  if (defined_func("script_xref")) {
-    script_xref(name:"OSVDB", value:"21109");
-  }
+  script_xref(name:"OSVDB", value:"21109");
 
   name["english"] = "MailEnable IMAP rename DoS Vulnerability";
   script_name(english:name["english"]);

Modified: trunk/openvas-plugins/scripts/mailenable_imap_search_dos.nasl
===================================================================
--- trunk/openvas-plugins/scripts/mailenable_imap_search_dos.nasl	2009-05-29 20:58:49 UTC (rev 3546)
+++ trunk/openvas-plugins/scripts/mailenable_imap_search_dos.nasl	2009-05-29 21:24:31 UTC (rev 3547)
@@ -10,9 +10,7 @@
 
   script_cve_id("CVE-2004-2194");
   script_bugtraq_id(11418);
-  if (defined_func("script_xref")) {
-    script_xref(name:"OSVDB", value:"10728");
-  }
+  script_xref(name:"OSVDB", value:"10728");
 
   name["english"] = "MailEnable IMAP Service Search DoS Vulnerability";
   script_name(english:name["english"]);

Modified: trunk/openvas-plugins/scripts/mailenable_smtp_dos.nasl
===================================================================
--- trunk/openvas-plugins/scripts/mailenable_smtp_dos.nasl	2009-05-29 20:58:49 UTC (rev 3546)
+++ trunk/openvas-plugins/scripts/mailenable_smtp_dos.nasl	2009-05-29 21:24:31 UTC (rev 3547)
@@ -9,10 +9,8 @@
   script_version("$Revision$");
 
   script_bugtraq_id(11144);
-  if (defined_func("script_xref")) {
-    script_xref(name:"OSVDB", value:"9789");
-    script_xref(name:"OSVDB", value:"10727");
-  }
+  script_xref(name:"OSVDB", value:"9789");
+  script_xref(name:"OSVDB", value:"10727");
 
   name["english"] = "MailEnable SMTP Connector Service DNS Lookup DoS Vulnerability";
   script_name(english:name["english"]);

Modified: trunk/openvas-plugins/scripts/mailman_password_retrieval.nasl
===================================================================
--- trunk/openvas-plugins/scripts/mailman_password_retrieval.nasl	2009-05-29 20:58:49 UTC (rev 3546)
+++ trunk/openvas-plugins/scripts/mailman_password_retrieval.nasl	2009-05-29 21:24:31 UTC (rev 3547)
@@ -10,13 +10,11 @@
 
   script_cve_id("CVE-2004-0412");
   script_bugtraq_id(10412);
-  if (defined_func("script_xref")) {
-    script_xref(name:"OSVDB", value:"6422");
-    script_xref(name:"CLSA", value:"CLSA-2004:842");
-    script_xref(name:"FLSA", value:"FEDORA-2004-1734");
-    script_xref(name:"GLSA", value:"GLSA-200406-04");
-    script_xref(name:"MDKSA", value:"MDKSA-2004:051");
-  }
+  script_xref(name:"OSVDB", value:"6422");
+  script_xref(name:"CLSA", value:"CLSA-2004:842");
+  script_xref(name:"FLSA", value:"FEDORA-2004-1734");
+  script_xref(name:"GLSA", value:"GLSA-200406-04");
+  script_xref(name:"MDKSA", value:"MDKSA-2004:051");
  
   name["english"] = "Mailman Password Retrieval";
   script_name(english:name["english"]);

Modified: trunk/openvas-plugins/scripts/mailman_privatepy_directory_traversal.nasl
===================================================================
--- trunk/openvas-plugins/scripts/mailman_privatepy_directory_traversal.nasl	2009-05-29 20:58:49 UTC (rev 3546)
+++ trunk/openvas-plugins/scripts/mailman_privatepy_directory_traversal.nasl	2009-05-29 21:24:31 UTC (rev 3547)
@@ -10,9 +10,7 @@
 
   script_cve_id("CVE-2005-0202");
   script_bugtraq_id(12504);
-  if (defined_func("script_xref")) {
-    script_xref(name:"OSVDB", value:"13671");
-  }
+  script_xref(name:"OSVDB", value:"13671");
  
   name["english"] = "Mailman private.py Directory Traversal Vulnerability";
   script_name(english:name["english"]);

Modified: trunk/openvas-plugins/scripts/mdaemon_mail_server_dos.nasl
===================================================================
--- trunk/openvas-plugins/scripts/mdaemon_mail_server_dos.nasl	2009-05-29 20:58:49 UTC (rev 3546)
+++ trunk/openvas-plugins/scripts/mdaemon_mail_server_dos.nasl	2009-05-29 21:24:31 UTC (rev 3547)
@@ -13,7 +13,7 @@
  script_id(14825);
  script_bugtraq_id(1250);
  script_version ("$Revision$");
- if ( defined_func("script_xref") ) script_xref(name:"OSVDB", value:"1354");
+ script_xref(name:"OSVDB", value:"1354");
  script_cve_id("CVE-2000-0399");
  
  name["english"] = "MDaemon mail server DoS";

Modified: trunk/openvas-plugins/scripts/merak_multiple_vulns.nasl
===================================================================
--- trunk/openvas-plugins/scripts/merak_multiple_vulns.nasl	2009-05-29 20:58:49 UTC (rev 3546)
+++ trunk/openvas-plugins/scripts/merak_multiple_vulns.nasl	2009-05-29 21:24:31 UTC (rev 3547)
@@ -10,17 +10,15 @@
 
   script_cve_id("CVE-2004-1719", "CVE-2004-1720", "CVE-2004-1721", "CVE-2004-1722");
   script_bugtraq_id(10966);
-  if (defined_func("script_xref")) {
-    script_xref(name:"OSVDB", value:"9037");
-    script_xref(name:"OSVDB", value:"9038");
-    script_xref(name:"OSVDB", value:"9039");
-    script_xref(name:"OSVDB", value:"9040");
-    script_xref(name:"OSVDB", value:"9041");
-    script_xref(name:"OSVDB", value:"9042");
-    script_xref(name:"OSVDB", value:"9043");
-    script_xref(name:"OSVDB", value:"9044");
-    script_xref(name:"OSVDB", value:"9045");
-  }
+  script_xref(name:"OSVDB", value:"9037");
+  script_xref(name:"OSVDB", value:"9038");
+  script_xref(name:"OSVDB", value:"9039");
+  script_xref(name:"OSVDB", value:"9040");
+  script_xref(name:"OSVDB", value:"9041");
+  script_xref(name:"OSVDB", value:"9042");
+  script_xref(name:"OSVDB", value:"9043");
+  script_xref(name:"OSVDB", value:"9044");
+  script_xref(name:"OSVDB", value:"9045");
 
   name["english"] = "Multiple Vulnerabilities in Merak Webmail / IceWarp Web Mail";
   script_name(english:name["english"]);

Modified: trunk/openvas-plugins/scripts/mercur_imap_buffer_overflow.nasl
===================================================================
--- trunk/openvas-plugins/scripts/mercur_imap_buffer_overflow.nasl	2009-05-29 20:58:49 UTC (rev 3546)
+++ trunk/openvas-plugins/scripts/mercur_imap_buffer_overflow.nasl	2009-05-29 21:24:31 UTC (rev 3547)
@@ -45,9 +45,7 @@
  
  script_bugtraq_id(17138);
  script_cve_id("CVE-2006-1255");
- if (defined_func("script_xref")) {
-  script_xref(name:"OSVDB", value:"23950");
- }
+ script_xref(name:"OSVDB", value:"23950");
 
  name["english"] = "Mercur Mailserver/Messaging version <= 5.0 IMAP Overflow Vulnerability";
  script_name(english:name["english"]);

Modified: trunk/openvas-plugins/scripts/mercuryboard_multiple_vuln.nasl
===================================================================
--- trunk/openvas-plugins/scripts/mercuryboard_multiple_vuln.nasl	2009-05-29 20:58:49 UTC (rev 3546)
+++ trunk/openvas-plugins/scripts/mercuryboard_multiple_vuln.nasl	2009-05-29 21:24:31 UTC (rev 3547)
@@ -20,18 +20,16 @@
     "CAN-2005-0878"
  );
  script_bugtraq_id(12359, 12503, 12578, 12706, 12707, 12872); 
- if (defined_func("script_xref")) {
-   script_xref(name:"OSVDB", value:"13262");
-   script_xref(name:"OSVDB", value:"13263");
-   script_xref(name:"OSVDB", value:"13264");
-   script_xref(name:"OSVDB", value:"13265");
-   script_xref(name:"OSVDB", value:"13266");
-   script_xref(name:"OSVDB", value:"13267");
-   script_xref(name:"OSVDB", value:"13764");
-   script_xref(name:"OSVDB", value:"13787");
-   script_xref(name:"OSVDB", value:"14307");
-   script_xref(name:"OSVDB", value:"14308");
-}
+ script_xref(name:"OSVDB", value:"13262");
+ script_xref(name:"OSVDB", value:"13263");
+ script_xref(name:"OSVDB", value:"13264");
+ script_xref(name:"OSVDB", value:"13265");
+ script_xref(name:"OSVDB", value:"13266");
+ script_xref(name:"OSVDB", value:"13267");
+ script_xref(name:"OSVDB", value:"13764");
+ script_xref(name:"OSVDB", value:"13787");
+ script_xref(name:"OSVDB", value:"14307");
+ script_xref(name:"OSVDB", value:"14308");
 
 
  name["english"] = "Multiple Vulnerabilities in MercuryBoard";

Modified: trunk/openvas-plugins/scripts/minishare_overflow.nasl
===================================================================
--- trunk/openvas-plugins/scripts/minishare_overflow.nasl	2009-05-29 20:58:49 UTC (rev 3546)
+++ trunk/openvas-plugins/scripts/minishare_overflow.nasl	2009-05-29 21:24:31 UTC (rev 3547)
@@ -14,9 +14,7 @@
  script_id(18424);
  script_cve_id("CVE-2004-2271");
  script_bugtraq_id (11620);
- if (defined_func("script_xref")) {
-   script_xref(name:"OSVDB", value:"11530");
- }
+ script_xref(name:"OSVDB", value:"11530");
  script_version ("$Revision$");
 
 

Modified: trunk/openvas-plugins/scripts/mod_ssl_offby1.nasl
===================================================================
--- trunk/openvas-plugins/scripts/mod_ssl_offby1.nasl	2009-05-29 20:58:49 UTC (rev 3546)
+++ trunk/openvas-plugins/scripts/mod_ssl_offby1.nasl	2009-05-29 21:24:31 UTC (rev 3547)
@@ -14,7 +14,7 @@
  script_bugtraq_id(5084);
  script_version("$Revision$");
  script_cve_id("CVE-2002-0653");
- if ( defined_func("script_xref") ) script_xref(name:"SuSE", value:"SUSE-SA:2002:028");
+ script_xref(name:"SuSE", value:"SUSE-SA:2002:028");
 
  
  name["english"] = "mod_ssl off by one";

Modified: trunk/openvas-plugins/scripts/moodle_php_reply_variable_xss.nasl
===================================================================
--- trunk/openvas-plugins/scripts/moodle_php_reply_variable_xss.nasl	2009-05-29 20:58:49 UTC (rev 3546)
+++ trunk/openvas-plugins/scripts/moodle_php_reply_variable_xss.nasl	2009-05-29 21:24:31 UTC (rev 3547)
@@ -11,8 +11,7 @@
  script_id(14257);
  script_cve_id("CVE-2004-1711");
  script_bugtraq_id(10884);
- if ( defined_func("script_xref") ) 
-	script_xref(name:"OSVDB", value:"8383");
+ script_xref(name:"OSVDB", value:"8383");
  
  script_version("$Revision$");
 

Modified: trunk/openvas-plugins/scripts/moodle_sql_inject.nasl
===================================================================
--- trunk/openvas-plugins/scripts/moodle_sql_inject.nasl	2009-05-29 20:58:49 UTC (rev 3546)
+++ trunk/openvas-plugins/scripts/moodle_sql_inject.nasl	2009-05-29 21:24:31 UTC (rev 3547)
@@ -11,9 +11,7 @@
  script_id(15639);
  script_cve_id("CVE-2004-1424", "CVE-2004-1425", "CVE-2004-2232");
  script_bugtraq_id(11608, 11691, 12120);
- if (defined_func("script_xref")) {
-   script_xref(name:"OSVDB", value:"11427");
- }
+ script_xref(name:"OSVDB", value:"11427");
  script_version("$Revision$");
 
  script_name(english:"Moodle SQL injection flaws");

Modified: trunk/openvas-plugins/scripts/msadcs_dll.nasl
===================================================================
--- trunk/openvas-plugins/scripts/msadcs_dll.nasl	2009-05-29 20:58:49 UTC (rev 3546)
+++ trunk/openvas-plugins/scripts/msadcs_dll.nasl	2009-05-29 21:24:31 UTC (rev 3547)
@@ -12,8 +12,8 @@
 {
  script_id(10357);
  script_bugtraq_id(529);
- if(defined_func("script_xref"))script_xref(name:"IAVA", value:"1999-a-0010");
- if(defined_func("script_xref"))script_xref(name:"IAVA", value:"1999-t-0003");
+ script_xref(name:"IAVA", value:"1999-a-0010");
+ script_xref(name:"IAVA", value:"1999-t-0003");
  script_version ("$Revision$");
  script_cve_id("CVE-1999-1011");
 

Modified: trunk/openvas-plugins/scripts/msrpc-spike27.nasl
===================================================================
--- trunk/openvas-plugins/scripts/msrpc-spike27.nasl	2009-05-29 20:58:49 UTC (rev 3546)
+++ trunk/openvas-plugins/scripts/msrpc-spike27.nasl	2009-05-29 21:24:31 UTC (rev 3547)
@@ -13,7 +13,7 @@
 if (description) {
   script_id(11159);
   script_cve_id("CVE-2002-1561");
-  if(defined_func("script_xref"))script_xref(name:"IAVA", value:"2003-t-0008");
+  script_xref(name:"IAVA", value:"2003-t-0008");
   script_bugtraq_id(6005);
   script_version("$Revision$");
  

Modified: trunk/openvas-plugins/scripts/msrpc_dcom.nasl
===================================================================
--- trunk/openvas-plugins/scripts/msrpc_dcom.nasl	2009-05-29 20:58:49 UTC (rev 3546)
+++ trunk/openvas-plugins/scripts/msrpc_dcom.nasl	2009-05-29 21:24:31 UTC (rev 3547)
@@ -15,7 +15,7 @@
  script_id(11808);
  script_bugtraq_id(8205);
  script_cve_id("CAN-2003-0352");
- if(defined_func("script_xref"))script_xref(name:"IAVA", value:"2003-A-0011");
+ script_xref(name:"IAVA", value:"2003-A-0011");
  script_version ("$Revision$");
 
  name["english"] = "Microsoft RPC Interface Buffer Overrun (823980)";

Modified: trunk/openvas-plugins/scripts/mssql_hello_overflow.nasl
===================================================================
--- trunk/openvas-plugins/scripts/mssql_hello_overflow.nasl	2009-05-29 20:58:49 UTC (rev 3546)
+++ trunk/openvas-plugins/scripts/mssql_hello_overflow.nasl	2009-05-29 21:24:31 UTC (rev 3547)
@@ -20,7 +20,7 @@
  script_id(11067);
  script_bugtraq_id(5411);
  script_cve_id("CVE-2002-1123");
- if(defined_func("script_xref"))script_xref(name:"IAVA", value:"2002-B-0007");
+ script_xref(name:"IAVA", value:"2002-B-0007");
  script_version ("$Revision$");
  name["english"] = "Microsoft's SQL Hello Overflow";
  script_name(english:name["english"]);

Modified: trunk/openvas-plugins/scripts/mssql_version.nasl
===================================================================
--- trunk/openvas-plugins/scripts/mssql_version.nasl	2009-05-29 20:58:49 UTC (rev 3546)
+++ trunk/openvas-plugins/scripts/mssql_version.nasl	2009-05-29 21:24:31 UTC (rev 3547)
@@ -27,7 +27,7 @@
  	       "CAN-2000-1087", "CAN-2000-1088", "CAN-2002-0982",
  	       "CAN-2001-0542", "CVE-2001-0344" );
 	       
- if(defined_func("script_xref"))script_xref(name:"IAVA", value:"2002-B-0004");
+ script_xref(name:"IAVA", value:"2002-B-0004");
   
  desc["english"] = "
 The plugin attempts a smb connection to read version from

Modified: trunk/openvas-plugins/scripts/mtl_remote_file_include.nasl
===================================================================
--- trunk/openvas-plugins/scripts/mtl_remote_file_include.nasl	2009-05-29 20:58:49 UTC (rev 3546)
+++ trunk/openvas-plugins/scripts/mtl_remote_file_include.nasl	2009-05-29 21:24:31 UTC (rev 3547)
@@ -44,9 +44,7 @@
   script_version("$Revision: 1.5 $");
   script_bugtraq_id(17546);
   script_cve_id("CVE-2006-1781");
-  if (defined_func("script_xref")) {
-    script_xref(name:"OSVDB", value:"24650");
-  }
+  script_xref(name:"OSVDB", value:"24650");
 
   name["english"] = "Monster Top List Remote File Include";
   script_name(english:name["english"]);

Modified: trunk/openvas-plugins/scripts/mvnforum_search_xss.nasl
===================================================================
--- trunk/openvas-plugins/scripts/mvnforum_search_xss.nasl	2009-05-29 20:58:49 UTC (rev 3546)
+++ trunk/openvas-plugins/scripts/mvnforum_search_xss.nasl	2009-05-29 21:24:31 UTC (rev 3547)
@@ -13,9 +13,7 @@
  script_id(18359);
  script_cve_id("CVE-2005-1183");
  script_bugtraq_id(13213);
- if (defined_func("script_xref")) {
-   script_xref(name:"OSVDB", value:"15760");
- }
+ script_xref(name:"OSVDB", value:"15760");
  script_version ("$Revision$");
 
  script_name(english:"MVNForum Search Cross-Site Scripting Vulnerability");

Modified: trunk/openvas-plugins/scripts/myevent_multiple_flaws.nasl
===================================================================
--- trunk/openvas-plugins/scripts/myevent_multiple_flaws.nasl	2009-05-29 20:58:49 UTC (rev 3546)
+++ trunk/openvas-plugins/scripts/myevent_multiple_flaws.nasl	2009-05-29 21:24:31 UTC (rev 3547)
@@ -53,15 +53,13 @@
 
   script_cve_id("CVE-2006-1890", "CVE-2006-1907", "CVE-2006-1908");
   script_bugtraq_id(17575, 17580);
-  if (defined_func("script_xref")) {
-    script_xref(name:"OSVDB", value:"24719");
-    script_xref(name:"OSVDB", value:"24720");
-    script_xref(name:"OSVDB", value:"24721");
-    script_xref(name:"OSVDB", value:"24722");
-    script_xref(name:"OSVDB", value:"24723");
-    script_xref(name:"OSVDB", value:"24724");
-    script_xref(name:"OSVDB", value:"24725");
-  }
+  script_xref(name:"OSVDB", value:"24719");
+  script_xref(name:"OSVDB", value:"24720");
+  script_xref(name:"OSVDB", value:"24721");
+  script_xref(name:"OSVDB", value:"24722");
+  script_xref(name:"OSVDB", value:"24723");
+  script_xref(name:"OSVDB", value:"24724");
+  script_xref(name:"OSVDB", value:"24725");
 
   name["english"] = "Multiple Remote Vulnerabilities in myEvent";
   script_name(english:name["english"]);

Modified: trunk/openvas-plugins/scripts/myserver_post_dos.nasl
===================================================================
--- trunk/openvas-plugins/scripts/myserver_post_dos.nasl	2009-05-29 20:58:49 UTC (rev 3546)
+++ trunk/openvas-plugins/scripts/myserver_post_dos.nasl	2009-05-29 21:24:31 UTC (rev 3547)
@@ -11,8 +11,7 @@
 if(description)
 {
  script_id(14838);
- #script_bugtraq_id(?);
- if ( defined_func("script_xref")) script_xref(name:"OSVDB", value:"10333");
+ script_xref(name:"OSVDB", value:"10333");
  script_version ("$Revision$");
 
  name["english"] = "myServer POST Denial of Service";

Modified: trunk/openvas-plugins/scripts/nbmember_info_disclosure.nasl
===================================================================
--- trunk/openvas-plugins/scripts/nbmember_info_disclosure.nasl	2009-05-29 20:58:49 UTC (rev 3546)
+++ trunk/openvas-plugins/scripts/nbmember_info_disclosure.nasl	2009-05-29 21:24:31 UTC (rev 3547)
@@ -8,7 +8,7 @@
 if(description)
 {
   script_id(15542);
-  if (defined_func("script_xref")) script_xref(name:"OSVDB", value:"10902");
+  script_xref(name:"OSVDB", value:"10902");
   script_version("$Revision$");
   script_bugtraq_id(11504);
   script_name(english:"nbmember.cgi information disclosure");

Modified: trunk/openvas-plugins/scripts/niprint_dos.nasl
===================================================================
--- trunk/openvas-plugins/scripts/niprint_dos.nasl	2009-05-29 20:58:49 UTC (rev 3546)
+++ trunk/openvas-plugins/scripts/niprint_dos.nasl	2009-05-29 21:24:31 UTC (rev 3547)
@@ -3,9 +3,7 @@
 	script_id(11926); 
 	script_cve_id("CVE-2003-1141");
 	script_bugtraq_id(8968);
-	if (defined_func("script_xref")) {
-	  script_xref(name:"OSVDB", value:"2774");
-	}
+	script_xref(name:"OSVDB", value:"2774");
       script_version("$Revision$"); 
         
       name["english"] = "NIPrint LPD-LPR Print Server"; 

Modified: trunk/openvas-plugins/scripts/nsm2004_dos.nasl
===================================================================
--- trunk/openvas-plugins/scripts/nsm2004_dos.nasl	2009-05-29 20:58:49 UTC (rev 3546)
+++ trunk/openvas-plugins/scripts/nsm2004_dos.nasl	2009-05-29 21:24:31 UTC (rev 3547)
@@ -8,7 +8,7 @@
  script_id(20388);
  script_bugtraq_id(16075);
  script_cve_id("CVE-2005-4587");
- if ( defined_func("script_xref") ) script_xref(name:"OSVDB", value:"22047");
+ script_xref(name:"OSVDB", value:"22047");
 
  name["english"] = "Juniper NetScreen-Security Manager Remote DoS flaw";
 



More information about the Openvas-commits mailing list