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

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Tue Feb 7 16:14:11 CET 2012


Author: hdoreau
Date: 2012-02-07 16:14:10 +0100 (Tue, 07 Feb 2012)
New Revision: 12641

Modified:
   trunk/openvas-plugins/ChangeLog
   trunk/openvas-plugins/scripts/sles10_neon.nasl
   trunk/openvas-plugins/scripts/sles10_net-snmp.nasl
   trunk/openvas-plugins/scripts/sles10_net-snmp0.nasl
   trunk/openvas-plugins/scripts/sles10_net-snmp1.nasl
   trunk/openvas-plugins/scripts/sles10_netatalk.nasl
   trunk/openvas-plugins/scripts/sles10_nfs-utils.nasl
   trunk/openvas-plugins/scripts/sles10_open-iscsi.nasl
   trunk/openvas-plugins/scripts/sles10_openldap2-clien.nasl
   trunk/openvas-plugins/scripts/sles10_openldap2.nasl
   trunk/openvas-plugins/scripts/sles10_openldap20.nasl
   trunk/openvas-plugins/scripts/sles10_opensc.nasl
   trunk/openvas-plugins/scripts/sles10_opensc0.nasl
   trunk/openvas-plugins/scripts/sles10_opensc1.nasl
   trunk/openvas-plugins/scripts/sles10_openslp.nasl
   trunk/openvas-plugins/scripts/sles10_openssh.nasl
   trunk/openvas-plugins/scripts/sles10_openssh0.nasl
   trunk/openvas-plugins/scripts/sles10_openssl.nasl
   trunk/openvas-plugins/scripts/sles10_openssl0.nasl
   trunk/openvas-plugins/scripts/sles10_openssl1.nasl
   trunk/openvas-plugins/scripts/sles10_openssl2.nasl
   trunk/openvas-plugins/scripts/sles10_openssl3.nasl
   trunk/openvas-plugins/scripts/sles10_openswan.nasl
   trunk/openvas-plugins/scripts/sles10_openswan0.nasl
   trunk/openvas-plugins/scripts/sles10_openswan1.nasl
   trunk/openvas-plugins/scripts/sles10_pam_krb5.nasl
   trunk/openvas-plugins/scripts/sles10_pam_mount.nasl
   trunk/openvas-plugins/scripts/sles10_pam_mount0.nasl
   trunk/openvas-plugins/scripts/sles10_pcre.nasl
   trunk/openvas-plugins/scripts/sles10_perl-Net-DNS.nasl
   trunk/openvas-plugins/scripts/sles10_perl-Tk.nasl
   trunk/openvas-plugins/scripts/sles10_perl.nasl
   trunk/openvas-plugins/scripts/sles10_perl0.nasl
   trunk/openvas-plugins/scripts/sles10_poppler.nasl
   trunk/openvas-plugins/scripts/sles10_poppler0.nasl
   trunk/openvas-plugins/scripts/sles10_postfix.nasl
   trunk/openvas-plugins/scripts/sles10_postfix0.nasl
   trunk/openvas-plugins/scripts/sles10_postgresql-pl.nasl
   trunk/openvas-plugins/scripts/sles10_postgresql.nasl
   trunk/openvas-plugins/scripts/sles10_postgresql0.nasl
   trunk/openvas-plugins/scripts/sles10_postgresql1.nasl
   trunk/openvas-plugins/scripts/sles10_python.nasl
   trunk/openvas-plugins/scripts/sles10_python0.nasl
   trunk/openvas-plugins/scripts/sles10_python1.nasl
   trunk/openvas-plugins/scripts/sles10_quagga.nasl
   trunk/openvas-plugins/scripts/sles10_rsh.nasl
   trunk/openvas-plugins/scripts/sles10_rsync.nasl
   trunk/openvas-plugins/scripts/sles10_squid.nasl
   trunk/openvas-plugins/scripts/sles10_squid0.nasl
   trunk/openvas-plugins/scripts/sles10_star.nasl
   trunk/openvas-plugins/scripts/sles10_strongswan.nasl
Log:
* scripts/sles10_neon.nasl,
scripts/sles10_net-snmp.nasl,
scripts/sles10_net-snmp0.nasl,
scripts/sles10_net-snmp1.nasl,
scripts/sles10_netatalk.nasl,
scripts/sles10_nfs-utils.nasl,
scripts/sles10_open-iscsi.nasl,
scripts/sles10_openldap2-clien.nasl,
scripts/sles10_openldap2.nasl,
scripts/sles10_openldap20.nasl,
scripts/sles10_opensc.nasl,
scripts/sles10_opensc0.nasl,
scripts/sles10_opensc1.nasl,
scripts/sles10_openslp.nasl,
scripts/sles10_openssh.nasl,
scripts/sles10_openssh0.nasl,
scripts/sles10_openssl.nasl,
scripts/sles10_openssl0.nasl,
scripts/sles10_openssl1.nasl,
scripts/sles10_openssl2.nasl,
scripts/sles10_openssl3.nasl,
scripts/sles10_openswan.nasl,
scripts/sles10_openswan0.nasl,
scripts/sles10_openswan1.nasl,
scripts/sles10_pam_krb5.nasl,
scripts/sles10_pam_mount.nasl,
scripts/sles10_pam_mount0.nasl,
scripts/sles10_pcre.nasl,
scripts/sles10_perl-Net-DNS.nasl,
scripts/sles10_perl-Tk.nasl,
scripts/sles10_perl.nasl,
scripts/sles10_perl0.nasl,
scripts/sles10_poppler.nasl,
scripts/sles10_poppler0.nasl,
scripts/sles10_postfix.nasl,
scripts/sles10_postfix0.nasl,
scripts/sles10_postgresql-pl.nasl,
scripts/sles10_postgresql.nasl,
scripts/sles10_postgresql0.nasl,
scripts/sles10_postgresql1.nasl,
scripts/sles10_python.nasl,
scripts/sles10_python0.nasl,
scripts/sles10_python1.nasl,
scripts/sles10_quagga.nasl,
scripts/sles10_rsh.nasl,
scripts/sles10_rsync.nasl,
scripts/sles10_squid.nasl,
scripts/sles10_squid0.nasl,
scripts/sles10_star.nasl,
scripts/sles10_strongswan.nasl:
Updated CVSS information. Output a single security message.

Modified: trunk/openvas-plugins/ChangeLog
===================================================================
--- trunk/openvas-plugins/ChangeLog	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/ChangeLog	2012-02-07 15:14:10 UTC (rev 12641)
@@ -1,5 +1,59 @@
 2012-02-07  Henri Doreau <henri.doreau at greenbone.net>
 
+	* scripts/sles10_neon.nasl,
+	scripts/sles10_net-snmp.nasl,
+	scripts/sles10_net-snmp0.nasl,
+	scripts/sles10_net-snmp1.nasl,
+	scripts/sles10_netatalk.nasl,
+	scripts/sles10_nfs-utils.nasl,
+	scripts/sles10_open-iscsi.nasl,
+	scripts/sles10_openldap2-clien.nasl,
+	scripts/sles10_openldap2.nasl,
+	scripts/sles10_openldap20.nasl,
+	scripts/sles10_opensc.nasl,
+	scripts/sles10_opensc0.nasl,
+	scripts/sles10_opensc1.nasl,
+	scripts/sles10_openslp.nasl,
+	scripts/sles10_openssh.nasl,
+	scripts/sles10_openssh0.nasl,
+	scripts/sles10_openssl.nasl,
+	scripts/sles10_openssl0.nasl,
+	scripts/sles10_openssl1.nasl,
+	scripts/sles10_openssl2.nasl,
+	scripts/sles10_openssl3.nasl,
+	scripts/sles10_openswan.nasl,
+	scripts/sles10_openswan0.nasl,
+	scripts/sles10_openswan1.nasl,
+	scripts/sles10_pam_krb5.nasl,
+	scripts/sles10_pam_mount.nasl,
+	scripts/sles10_pam_mount0.nasl,
+	scripts/sles10_pcre.nasl,
+	scripts/sles10_perl-Net-DNS.nasl,
+	scripts/sles10_perl-Tk.nasl,
+	scripts/sles10_perl.nasl,
+	scripts/sles10_perl0.nasl,
+	scripts/sles10_poppler.nasl,
+	scripts/sles10_poppler0.nasl,
+	scripts/sles10_postfix.nasl,
+	scripts/sles10_postfix0.nasl,
+	scripts/sles10_postgresql-pl.nasl,
+	scripts/sles10_postgresql.nasl,
+	scripts/sles10_postgresql0.nasl,
+	scripts/sles10_postgresql1.nasl,
+	scripts/sles10_python.nasl,
+	scripts/sles10_python0.nasl,
+	scripts/sles10_python1.nasl,
+	scripts/sles10_quagga.nasl,
+	scripts/sles10_rsh.nasl,
+	scripts/sles10_rsync.nasl,
+	scripts/sles10_squid.nasl,
+	scripts/sles10_squid0.nasl,
+	scripts/sles10_star.nasl,
+	scripts/sles10_strongswan.nasl:
+	Updated CVSS information. Output a single security message.
+
+2012-02-07  Henri Doreau <henri.doreau at greenbone.net>
+
 	* scripts/sles10_kernel8.nasl,
 	scripts/sles10_kernel9.nasl,
 	scripts/sles10_krb5.nasl,

Modified: trunk/openvas-plugins/scripts/sles10_neon.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_neon.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_neon.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(66235);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-11-11 15:56:44 +0100 (Wed, 11 Nov 2009)");
- script_cve_id("CVE-2009-2408", "CVE-2009-2473");
- script_tag(name:"cvss_base", value:"6.8");
- script_tag(name:"risk_factor", value:"High");
- script_name("SLES10: Security update for neon");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -52,6 +41,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(66235);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-11-11 15:56:44 +0100 (Wed, 11 Nov 2009)");
+ script_cve_id("CVE-2009-2408", "CVE-2009-2473");
+ script_tag(name:"cvss_base", value:"6.8");
+ script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:P/A:P");
+ script_tag(name:"risk_factor", value:"High");
+ script_name("SLES10: Security update for neon");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for neon");
@@ -71,11 +73,13 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"neon", rpm:"neon~0.24.7~20.8.1", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"neon", rpm:"neon~0.24.7~20.8.1", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_hole(0);
+if (report != "") {
+    security_hole(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_net-snmp.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_net-snmp.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_net-snmp.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65771);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_cve_id("CVE-2008-4309");
- script_tag(name:"cvss_base", value:"5.0");
- script_tag(name:"risk_factor", value:"Medium");
- script_name("SLES10: Security update for net-snmp");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -54,6 +43,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65771);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_cve_id("CVE-2008-4309");
+ script_tag(name:"cvss_base", value:"5.0");
+ script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:P");
+ script_tag(name:"risk_factor", value:"Medium");
+ script_name("SLES10: Security update for net-snmp");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for net-snmp");
@@ -73,17 +75,19 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"net-snmp", rpm:"net-snmp~5.3.0.1~25.28", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"net-snmp", rpm:"net-snmp~5.3.0.1~25.28", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"net-snmp-devel", rpm:"net-snmp-devel~5.3.0.1~25.28", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"net-snmp-devel", rpm:"net-snmp-devel~5.3.0.1~25.28", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"perl-SNMP", rpm:"perl-SNMP~5.3.0.1~25.28", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"perl-SNMP", rpm:"perl-SNMP~5.3.0.1~25.28", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_warning(0);
+if (report != "") {
+    security_warning(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_net-snmp0.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_net-snmp0.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_net-snmp0.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65866);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_cve_id("CVE-2008-6123");
- script_tag(name:"cvss_base", value:"5.0");
- script_tag(name:"risk_factor", value:"Medium");
- script_name("SLES10: Security update for net-snmp");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -54,6 +43,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65866);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_cve_id("CVE-2008-6123");
+ script_tag(name:"cvss_base", value:"5.0");
+ script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:N/A:N");
+ script_tag(name:"risk_factor", value:"Medium");
+ script_name("SLES10: Security update for net-snmp");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for net-snmp");
@@ -73,17 +75,19 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"net-snmp", rpm:"net-snmp~5.3.0.1~25.31", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"net-snmp", rpm:"net-snmp~5.3.0.1~25.31", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"net-snmp-devel", rpm:"net-snmp-devel~5.3.0.1~25.31", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"net-snmp-devel", rpm:"net-snmp-devel~5.3.0.1~25.31", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"perl-SNMP", rpm:"perl-SNMP~5.3.0.1~25.31", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"perl-SNMP", rpm:"perl-SNMP~5.3.0.1~25.31", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_warning(0);
+if (report != "") {
+    security_warning(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_net-snmp1.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_net-snmp1.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_net-snmp1.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65905);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_cve_id("CVE-2008-2292", "CVE-2008-0960");
- script_tag(name:"cvss_base", value:"10.0");
- script_tag(name:"risk_factor", value:"Critical");
- script_name("SLES10: Security update for net-snmp");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -54,6 +43,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65905);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_cve_id("CVE-2008-2292", "CVE-2008-0960");
+ script_tag(name:"cvss_base", value:"10.0");
+ script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
+ script_tag(name:"risk_factor", value:"Critical");
+ script_name("SLES10: Security update for net-snmp");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for net-snmp");
@@ -73,17 +75,19 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"net-snmp", rpm:"net-snmp~5.3.0.1~25.26", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"net-snmp", rpm:"net-snmp~5.3.0.1~25.26", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"net-snmp-devel", rpm:"net-snmp-devel~5.3.0.1~25.26", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"net-snmp-devel", rpm:"net-snmp-devel~5.3.0.1~25.26", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"perl-SNMP", rpm:"perl-SNMP~5.3.0.1~25.26", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"perl-SNMP", rpm:"perl-SNMP~5.3.0.1~25.26", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_hole(0);
+if (report != "") {
+    security_hole(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_netatalk.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_netatalk.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_netatalk.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65864);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_cve_id("CVE-2008-5718");
- script_tag(name:"cvss_base", value:"9.3");
- script_tag(name:"risk_factor", value:"Critical");
- script_name("SLES10: Security update for netatalk");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -53,6 +42,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65864);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_cve_id("CVE-2008-5718");
+ script_tag(name:"cvss_base", value:"9.3");
+ script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:C/I:C/A:C");
+ script_tag(name:"risk_factor", value:"Critical");
+ script_name("SLES10: Security update for netatalk");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for netatalk");
@@ -72,14 +74,16 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"netatalk", rpm:"netatalk~2.0.3~21.8", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"netatalk", rpm:"netatalk~2.0.3~21.8", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"netatalk-devel", rpm:"netatalk-devel~2.0.3~21.8", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"netatalk-devel", rpm:"netatalk-devel~2.0.3~21.8", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_hole(0);
+if (report != "") {
+    security_hole(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_nfs-utils.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_nfs-utils.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_nfs-utils.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65790);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_cve_id("CVE-2008-4552");
- script_tag(name:"cvss_base", value:"7.5");
- script_tag(name:"risk_factor", value:"High");
- script_name("SLES10: Security update for nfs-utils");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -52,6 +41,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65790);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_cve_id("CVE-2008-4552");
+ script_tag(name:"cvss_base", value:"7.5");
+ script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
+ script_tag(name:"risk_factor", value:"High");
+ script_name("SLES10: Security update for nfs-utils");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for nfs-utils");
@@ -71,11 +73,13 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"nfs-utils", rpm:"nfs-utils~1.0.7~36.31", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"nfs-utils", rpm:"nfs-utils~1.0.7~36.31", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_hole(0);
+if (report != "") {
+    security_hole(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_open-iscsi.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_open-iscsi.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_open-iscsi.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65776);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_cve_id("CVE-2009-1297");
- script_tag(name:"cvss_base", value:"4.4");
- script_tag(name:"risk_factor", value:"Medium");
- script_name("SLES10: Security update for open-iscsi");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -52,6 +41,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65776);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_cve_id("CVE-2009-1297");
+ script_tag(name:"cvss_base", value:"4.4");
+ script_tag(name:"cvss_base_vector", value:"AV:L/AC:M/Au:N/C:P/I:P/A:P");
+ script_tag(name:"risk_factor", value:"Medium");
+ script_name("SLES10: Security update for open-iscsi");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for open-iscsi");
@@ -71,11 +73,13 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"open-iscsi", rpm:"open-iscsi~2.0.707~0.47", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"open-iscsi", rpm:"open-iscsi~2.0.707~0.47", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_warning(0);
+if (report != "") {
+    security_warning(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_openldap2-clien.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_openldap2-clien.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_openldap2-clien.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,15 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65896);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_tag(name:"risk_factor", value:"High");
- script_name("SLES10: Security update for the OpenLDAP client");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -50,6 +41,16 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65896);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_tag(name:"risk_factor", value:"High");
+ script_name("SLES10: Security update for the OpenLDAP client");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for the OpenLDAP client");
@@ -69,14 +70,16 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"openldap2-client", rpm:"openldap2-client~2.3.32~0.30", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"openldap2-client", rpm:"openldap2-client~2.3.32~0.30", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"openldap2-devel", rpm:"openldap2-devel~2.3.32~0.30", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"openldap2-devel", rpm:"openldap2-devel~2.3.32~0.30", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_hole(0);
+if (report != "") {
+    security_hole(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_openldap2.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_openldap2.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_openldap2.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65858);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_cve_id("CVE-2009-2408");
- script_tag(name:"cvss_base", value:"6.8");
- script_tag(name:"risk_factor", value:"High");
- script_name("SLES10: Security update for OpenLDAP2");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -56,6 +45,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65858);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_cve_id("CVE-2009-2408");
+ script_tag(name:"cvss_base", value:"6.8");
+ script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:P/A:P");
+ script_tag(name:"risk_factor", value:"High");
+ script_name("SLES10: Security update for OpenLDAP2");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for OpenLDAP2");
@@ -75,23 +77,25 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"openldap2", rpm:"openldap2~2.3.32~0.34.2", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"openldap2", rpm:"openldap2~2.3.32~0.34.2", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"openldap2-back-meta", rpm:"openldap2-back-meta~2.3.32~0.34.2", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"openldap2-back-meta", rpm:"openldap2-back-meta~2.3.32~0.34.2", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"openldap2-back-perl", rpm:"openldap2-back-perl~2.3.32~0.34.2", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"openldap2-back-perl", rpm:"openldap2-back-perl~2.3.32~0.34.2", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"openldap2-client", rpm:"openldap2-client~2.3.32~0.33.2", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"openldap2-client", rpm:"openldap2-client~2.3.32~0.33.2", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"openldap2-devel", rpm:"openldap2-devel~2.3.32~0.33.2", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"openldap2-devel", rpm:"openldap2-devel~2.3.32~0.33.2", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_hole(0);
+if (report != "") {
+    security_hole(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_openldap20.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_openldap20.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_openldap20.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65951);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_cve_id("CVE-2008-2952");
- script_tag(name:"cvss_base", value:"5.0");
- script_tag(name:"risk_factor", value:"Medium");
- script_name("SLES10: Security update for OpenLDAP 2");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -56,6 +45,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65951);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_cve_id("CVE-2008-2952");
+ script_tag(name:"cvss_base", value:"5.0");
+ script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:P");
+ script_tag(name:"risk_factor", value:"Medium");
+ script_name("SLES10: Security update for OpenLDAP 2");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for OpenLDAP 2");
@@ -75,23 +77,25 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"openldap2", rpm:"openldap2~2.3.32~0.30", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"openldap2", rpm:"openldap2~2.3.32~0.30", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"openldap2-back-meta", rpm:"openldap2-back-meta~2.3.32~0.30", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"openldap2-back-meta", rpm:"openldap2-back-meta~2.3.32~0.30", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"openldap2-back-perl", rpm:"openldap2-back-perl~2.3.32~0.30", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"openldap2-back-perl", rpm:"openldap2-back-perl~2.3.32~0.30", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"openldap2-client", rpm:"openldap2-client~2.3.32~0.28", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"openldap2-client", rpm:"openldap2-client~2.3.32~0.28", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"openldap2-devel", rpm:"openldap2-devel~2.3.32~0.28", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"openldap2-devel", rpm:"openldap2-devel~2.3.32~0.28", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_warning(0);
+if (report != "") {
+    security_warning(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_opensc.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_opensc.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_opensc.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65910);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_cve_id("CVE-2009-0368");
- script_tag(name:"cvss_base", value:"2.1");
- script_tag(name:"risk_factor", value:"Medium");
- script_name("SLES10: Security update for OpenSC");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -53,6 +42,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65910);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_cve_id("CVE-2009-0368");
+ script_tag(name:"cvss_base", value:"2.1");
+ script_tag(name:"cvss_base_vector", value:"AV:L/AC:L/Au:N/C:P/I:N/A:N");
+ script_tag(name:"risk_factor", value:"Medium");
+ script_name("SLES10: Security update for OpenSC");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for OpenSC");
@@ -72,14 +74,16 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"opensc", rpm:"opensc~0.9.6~17.12", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"opensc", rpm:"opensc~0.9.6~17.12", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"opensc-devel", rpm:"opensc-devel~0.9.6~17.12", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"opensc-devel", rpm:"opensc-devel~0.9.6~17.12", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_warning(0);
+if (report != "") {
+    security_warning(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_opensc0.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_opensc0.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_opensc0.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65919);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_cve_id("CVE-2008-2235");
- script_tag(name:"cvss_base", value:"4.9");
- script_tag(name:"risk_factor", value:"Medium");
- script_name("SLES10: Security update for opensc");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -53,6 +42,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65919);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_cve_id("CVE-2008-2235");
+ script_tag(name:"cvss_base", value:"4.9");
+ script_tag(name:"cvss_base_vector", value:"AV:L/AC:L/Au:N/C:N/I:C/A:N");
+ script_tag(name:"risk_factor", value:"Medium");
+ script_name("SLES10: Security update for opensc");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for opensc");
@@ -72,14 +74,16 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"opensc", rpm:"opensc~0.9.6~17.7", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"opensc", rpm:"opensc~0.9.6~17.7", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"opensc-devel", rpm:"opensc-devel~0.9.6~17.7", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"opensc-devel", rpm:"opensc-devel~0.9.6~17.7", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_warning(0);
+if (report != "") {
+    security_warning(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_opensc1.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_opensc1.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_opensc1.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65925);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_cve_id("CVE-2008-2235");
- script_tag(name:"cvss_base", value:"4.9");
- script_tag(name:"risk_factor", value:"Medium");
- script_name("SLES10: Security update for opensc");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -53,6 +42,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65925);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_cve_id("CVE-2008-2235");
+ script_tag(name:"cvss_base", value:"4.9");
+ script_tag(name:"cvss_base_vector", value:"AV:L/AC:L/Au:N/C:N/I:C/A:N");
+ script_tag(name:"risk_factor", value:"Medium");
+ script_name("SLES10: Security update for opensc");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for opensc");
@@ -72,14 +74,16 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"opensc", rpm:"opensc~0.9.6~17.9", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"opensc", rpm:"opensc~0.9.6~17.9", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"opensc-devel", rpm:"opensc-devel~0.9.6~17.9", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"opensc-devel", rpm:"opensc-devel~0.9.6~17.9", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_warning(0);
+if (report != "") {
+    security_warning(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_openslp.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_openslp.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_openslp.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,15 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65785);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_tag(name:"risk_factor", value:"High");
- script_name("SLES10: Security update for OpenSLP");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -51,6 +42,16 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65785);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_tag(name:"risk_factor", value:"High");
+ script_name("SLES10: Security update for OpenSLP");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for OpenSLP");
@@ -70,17 +71,19 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"openslp", rpm:"openslp~1.2.0~22.22", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"openslp", rpm:"openslp~1.2.0~22.22", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"openslp-devel", rpm:"openslp-devel~1.2.0~22.22", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"openslp-devel", rpm:"openslp-devel~1.2.0~22.22", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"openslp-server", rpm:"openslp-server~1.2.0~22.22", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"openslp-server", rpm:"openslp-server~1.2.0~22.22", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_hole(0);
+if (report != "") {
+    security_hole(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_openssh.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_openssh.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_openssh.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65819);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_cve_id("CVE-2008-4109");
- script_tag(name:"cvss_base", value:"5.0");
- script_tag(name:"risk_factor", value:"Medium");
- script_name("SLES10: Security update for OpenSSH");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -53,6 +42,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65819);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_cve_id("CVE-2008-4109");
+ script_tag(name:"cvss_base", value:"5.0");
+ script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:P");
+ script_tag(name:"risk_factor", value:"Medium");
+ script_name("SLES10: Security update for OpenSSH");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for OpenSSH");
@@ -72,14 +74,16 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"openssh", rpm:"openssh~4.2p1~18.38.3", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"openssh", rpm:"openssh~4.2p1~18.38.3", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"openssh-askpass", rpm:"openssh-askpass~4.2p1~18.38.3", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"openssh-askpass", rpm:"openssh-askpass~4.2p1~18.38.3", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_warning(0);
+if (report != "") {
+    security_warning(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_openssh0.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_openssh0.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_openssh0.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65987);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_cve_id("CVE-2008-1483");
- script_tag(name:"cvss_base", value:"6.9");
- script_tag(name:"risk_factor", value:"High");
- script_name("SLES10: Security update for OpenSSH");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -53,6 +42,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65987);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_cve_id("CVE-2008-1483");
+ script_tag(name:"cvss_base", value:"6.9");
+ script_tag(name:"cvss_base_vector", value:"AV:L/AC:M/Au:N/C:C/I:C/A:C");
+ script_tag(name:"risk_factor", value:"High");
+ script_name("SLES10: Security update for OpenSSH");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for OpenSSH");
@@ -72,14 +74,16 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"openssh", rpm:"openssh~4.2p1~18.36", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"openssh", rpm:"openssh~4.2p1~18.36", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"openssh-askpass", rpm:"openssh-askpass~4.2p1~18.36", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"openssh-askpass", rpm:"openssh-askpass~4.2p1~18.36", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_hole(0);
+if (report != "") {
+    security_hole(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_openssl.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_openssl.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_openssl.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65767);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_cve_id("CVE-2008-5077");
- script_tag(name:"cvss_base", value:"5.8");
- script_tag(name:"risk_factor", value:"High");
- script_name("SLES10: Security update for openssl");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -54,6 +43,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65767);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_cve_id("CVE-2008-5077");
+ script_tag(name:"cvss_base", value:"5.8");
+ script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:P/A:P");
+ script_tag(name:"risk_factor", value:"High");
+ script_name("SLES10: Security update for openssl");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for openssl");
@@ -73,17 +75,19 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"openssl", rpm:"openssl~0.9.8a~18.27", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"openssl", rpm:"openssl~0.9.8a~18.27", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"openssl-devel", rpm:"openssl-devel~0.9.8a~18.27", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"openssl-devel", rpm:"openssl-devel~0.9.8a~18.27", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"openssl-doc", rpm:"openssl-doc~0.9.8a~18.27", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"openssl-doc", rpm:"openssl-doc~0.9.8a~18.27", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_hole(0);
+if (report != "") {
+    security_hole(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_openssl0.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_openssl0.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_openssl0.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65793);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_cve_id("CVE-2009-1377", "CVE-2009-1378", "CVE-2009-1379");
- script_tag(name:"cvss_base", value:"5.0");
- script_tag(name:"risk_factor", value:"Medium");
- script_name("SLES10: Security update for OpenSSL");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -54,6 +43,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65793);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_cve_id("CVE-2009-1377", "CVE-2009-1378", "CVE-2009-1379");
+ script_tag(name:"cvss_base", value:"5.0");
+ script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:P");
+ script_tag(name:"risk_factor", value:"Medium");
+ script_name("SLES10: Security update for OpenSSL");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for OpenSSL");
@@ -73,17 +75,19 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"openssl", rpm:"openssl~0.9.8a~18.32", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"openssl", rpm:"openssl~0.9.8a~18.32", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"openssl-devel", rpm:"openssl-devel~0.9.8a~18.32", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"openssl-devel", rpm:"openssl-devel~0.9.8a~18.32", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"openssl-doc", rpm:"openssl-doc~0.9.8a~18.32", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"openssl-doc", rpm:"openssl-doc~0.9.8a~18.32", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_warning(0);
+if (report != "") {
+    security_warning(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_openssl1.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_openssl1.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_openssl1.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65890);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_cve_id("CVE-2009-0590", "CVE-2009-0789");
- script_tag(name:"cvss_base", value:"5.0");
- script_tag(name:"risk_factor", value:"Medium");
- script_name("SLES10: Security update for OpenSSL");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -54,6 +43,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65890);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_cve_id("CVE-2009-0590", "CVE-2009-0789");
+ script_tag(name:"cvss_base", value:"5.0");
+ script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:P");
+ script_tag(name:"risk_factor", value:"Medium");
+ script_name("SLES10: Security update for OpenSSL");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for OpenSSL");
@@ -73,17 +75,19 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"openssl", rpm:"openssl~0.9.8a~18.30", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"openssl", rpm:"openssl~0.9.8a~18.30", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"openssl-devel", rpm:"openssl-devel~0.9.8a~18.30", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"openssl-devel", rpm:"openssl-devel~0.9.8a~18.30", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"openssl-doc", rpm:"openssl-doc~0.9.8a~18.30", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"openssl-doc", rpm:"openssl-doc~0.9.8a~18.30", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_warning(0);
+if (report != "") {
+    security_warning(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_openssl2.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_openssl2.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_openssl2.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65894);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_cve_id("CVE-2009-1386", "CVE-2009-1387");
-  script_tag(name:"cvss_base", value:"5.0");
-  script_tag(name:"risk_factor", value:"Medium");
- script_name("SLES10: Security update for OpenSSL");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -54,6 +43,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65894);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_cve_id("CVE-2009-1386", "CVE-2009-1387");
+  script_tag(name:"cvss_base", value:"5.0");
+  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:P");
+  script_tag(name:"risk_factor", value:"Medium");
+ script_name("SLES10: Security update for OpenSSL");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for OpenSSL");
@@ -73,17 +75,19 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"openssl", rpm:"openssl~0.9.8a~18.34", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"openssl", rpm:"openssl~0.9.8a~18.34", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"openssl-devel", rpm:"openssl-devel~0.9.8a~18.34", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"openssl-devel", rpm:"openssl-devel~0.9.8a~18.34", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"openssl-doc", rpm:"openssl-doc~0.9.8a~18.34", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"openssl-doc", rpm:"openssl-doc~0.9.8a~18.34", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_warning(0);
+if (report != "") {
+    security_warning(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_openssl3.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_openssl3.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_openssl3.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(66279);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-11-17 21:42:12 +0100 (Tue, 17 Nov 2009)");
- script_cve_id("CVE-2009-3555");
- script_tag(name:"cvss_base", value:"5.8");
- script_tag(name:"risk_factor", value:"High");
- script_name("SLES10: Security update for OpenSSL");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -54,6 +43,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(66279);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-11-17 21:42:12 +0100 (Tue, 17 Nov 2009)");
+ script_cve_id("CVE-2009-3555");
+ script_tag(name:"cvss_base", value:"5.8");
+ script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:P/A:P");
+ script_tag(name:"risk_factor", value:"High");
+ script_name("SLES10: Security update for OpenSSL");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for OpenSSL");
@@ -73,17 +75,19 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"openssl", rpm:"openssl~0.9.8a~18.39.1", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"openssl", rpm:"openssl~0.9.8a~18.39.1", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"openssl-devel", rpm:"openssl-devel~0.9.8a~18.39.1", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"openssl-devel", rpm:"openssl-devel~0.9.8a~18.39.1", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"openssl-doc", rpm:"openssl-doc~0.9.8a~18.39.1", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"openssl-doc", rpm:"openssl-doc~0.9.8a~18.39.1", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_hole(0);
+if (report != "") {
+    security_hole(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_openswan.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_openswan.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_openswan.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65823);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_cve_id("CVE-2009-2661");
- script_tag(name:"cvss_base", value:"5.0");
- script_tag(name:"risk_factor", value:"Medium");
- script_name("SLES10: Security update for openswan");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -52,6 +41,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65823);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_cve_id("CVE-2009-2661");
+ script_tag(name:"cvss_base", value:"5.0");
+ script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:P");
+ script_tag(name:"risk_factor", value:"Medium");
+ script_name("SLES10: Security update for openswan");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for openswan");
@@ -71,11 +73,13 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"openswan", rpm:"openswan~2.4.4~18.15.2", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"openswan", rpm:"openswan~2.4.4~18.15.2", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_warning(0);
+if (report != "") {
+    security_warning(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_openswan0.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_openswan0.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_openswan0.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65865);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_cve_id("CVE-2009-2185");
- script_tag(name:"cvss_base", value:"5.0");
- script_tag(name:"risk_factor", value:"Medium");
- script_name("SLES10: Security update for openswan");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -52,6 +41,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65865);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_cve_id("CVE-2009-2185");
+ script_tag(name:"cvss_base", value:"5.0");
+ script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:P");
+ script_tag(name:"risk_factor", value:"Medium");
+ script_name("SLES10: Security update for openswan");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for openswan");
@@ -71,11 +73,13 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"openswan", rpm:"openswan~2.4.4~18.13", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"openswan", rpm:"openswan~2.4.4~18.13", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_warning(0);
+if (report != "") {
+    security_warning(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_openswan1.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_openswan1.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_openswan1.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65934);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_cve_id("CVE-2009-0790");
- script_tag(name:"cvss_base", value:"5.0");
- script_tag(name:"risk_factor", value:"Medium");
- script_name("SLES10: Security update for openswan");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -52,6 +41,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65934);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_cve_id("CVE-2009-0790");
+ script_tag(name:"cvss_base", value:"5.0");
+ script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:P");
+ script_tag(name:"risk_factor", value:"Medium");
+ script_name("SLES10: Security update for openswan");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for openswan");
@@ -71,11 +73,13 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"openswan", rpm:"openswan~2.4.4~18.11", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"openswan", rpm:"openswan~2.4.4~18.11", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_warning(0);
+if (report != "") {
+    security_warning(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_pam_krb5.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_pam_krb5.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_pam_krb5.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65952);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_cve_id("CVE-2008-3825");
- script_tag(name:"cvss_base", value:"4.4");
- script_tag(name:"risk_factor", value:"Medium");
- script_name("SLES10: Security update for pam_krb5");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -52,6 +41,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65952);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_cve_id("CVE-2008-3825");
+ script_tag(name:"cvss_base", value:"4.4");
+ script_tag(name:"cvss_base_vector", value:"AV:L/AC:M/Au:N/C:P/I:P/A:P");
+ script_tag(name:"risk_factor", value:"Medium");
+ script_name("SLES10: Security update for pam_krb5");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for pam_krb5");
@@ -71,11 +73,13 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"pam_krb5", rpm:"pam_krb5~2.2.3~18.7", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"pam_krb5", rpm:"pam_krb5~2.2.3~18.7", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_warning(0);
+if (report != "") {
+    security_warning(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_pam_mount.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_pam_mount.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_pam_mount.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65760);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_cve_id("CVE-2008-5138");
- script_tag(name:"cvss_base", value:"6.9");
- script_tag(name:"risk_factor", value:"High");
- script_name("SLES10: Security update for pam_mount");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -52,6 +41,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65760);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_cve_id("CVE-2008-5138");
+ script_tag(name:"cvss_base", value:"6.9");
+ script_tag(name:"cvss_base_vector", value:"AV:L/AC:M/Au:N/C:C/I:C/A:C");
+ script_tag(name:"risk_factor", value:"High");
+ script_name("SLES10: Security update for pam_mount");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for pam_mount");
@@ -71,11 +73,13 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"pam_mount", rpm:"pam_mount~0.18~29.20", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"pam_mount", rpm:"pam_mount~0.18~29.20", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_hole(0);
+if (report != "") {
+    security_hole(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_pam_mount0.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_pam_mount0.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_pam_mount0.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65779);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_cve_id("CVE-2008-3970");
- script_tag(name:"cvss_base", value:"6.9");
- script_tag(name:"risk_factor", value:"High");
- script_name("SLES10: Security update for pam_mount");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -52,6 +41,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65779);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_cve_id("CVE-2008-3970");
+ script_tag(name:"cvss_base", value:"6.9");
+ script_tag(name:"cvss_base_vector", value:"AV:L/AC:M/Au:N/C:C/I:C/A:C");
+ script_tag(name:"risk_factor", value:"High");
+ script_name("SLES10: Security update for pam_mount");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for pam_mount");
@@ -71,11 +73,13 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"pam_mount", rpm:"pam_mount~0.18~29.17", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"pam_mount", rpm:"pam_mount~0.18~29.17", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_hole(0);
+if (report != "") {
+    security_hole(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_pcre.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_pcre.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_pcre.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65966);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_cve_id("CVE-2006-7230");
- script_tag(name:"cvss_base", value:"4.3");
- script_tag(name:"risk_factor", value:"Medium");
- script_name("SLES10: Security update for pcre");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -53,6 +42,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65966);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_cve_id("CVE-2006-7230");
+ script_tag(name:"cvss_base", value:"4.3");
+ script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:N/A:P");
+ script_tag(name:"risk_factor", value:"Medium");
+ script_name("SLES10: Security update for pcre");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for pcre");
@@ -72,14 +74,16 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"pcre", rpm:"pcre~6.4~14.15", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"pcre", rpm:"pcre~6.4~14.15", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"pcre-devel", rpm:"pcre-devel~6.4~14.15", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"pcre-devel", rpm:"pcre-devel~6.4~14.15", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_warning(0);
+if (report != "") {
+    security_warning(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_perl-Net-DNS.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_perl-Net-DNS.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_perl-Net-DNS.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65981);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_cve_id("CVE-2007-3377", "CVE-2007-3409");
- script_tag(name:"cvss_base", value:"4.3");
- script_tag(name:"risk_factor", value:"Medium");
- script_name("SLES10: Security update for perl-Net-DNS");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -52,6 +41,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65981);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_cve_id("CVE-2007-3377", "CVE-2007-3409");
+ script_tag(name:"cvss_base", value:"4.3");
+ script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:N/A:P");
+ script_tag(name:"risk_factor", value:"Medium");
+ script_name("SLES10: Security update for perl-Net-DNS");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for perl-Net-DNS");
@@ -71,11 +73,13 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"perl-Net-DNS", rpm:"perl-Net-DNS~0.55~12.6", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"perl-Net-DNS", rpm:"perl-Net-DNS~0.55~12.6", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_warning(0);
+if (report != "") {
+    security_warning(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_perl-Tk.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_perl-Tk.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_perl-Tk.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(66007);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_cve_id("CVE-2006-4484");
- script_tag(name:"cvss_base", value:"2.6");
- script_tag(name:"risk_factor", value:"Medium");
- script_name("SLES10: Security update for perl-Tk");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -52,6 +41,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(66007);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_cve_id("CVE-2006-4484");
+ script_tag(name:"cvss_base", value:"2.6");
+ script_tag(name:"cvss_base_vector", value:"AV:N/AC:H/Au:N/C:N/I:N/A:P");
+ script_tag(name:"risk_factor", value:"Medium");
+ script_name("SLES10: Security update for perl-Tk");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for perl-Tk");
@@ -71,11 +73,13 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"perl-Tk", rpm:"perl-Tk~804.027~15.6", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"perl-Tk", rpm:"perl-Tk~804.027~15.6", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_warning(0);
+if (report != "") {
+    security_warning(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_perl.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_perl.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_perl.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65768);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_cve_id("CVE-2008-1927");
- script_tag(name:"cvss_base", value:"5.0");
- script_tag(name:"risk_factor", value:"Medium");
- script_name("SLES10: Security update for Perl");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -52,6 +41,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65768);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_cve_id("CVE-2008-1927");
+ script_tag(name:"cvss_base", value:"5.0");
+ script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:P");
+ script_tag(name:"risk_factor", value:"Medium");
+ script_name("SLES10: Security update for Perl");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for Perl");
@@ -71,11 +73,13 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"perl", rpm:"perl~5.8.8~14.10", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"perl", rpm:"perl~5.8.8~14.10", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_warning(0);
+if (report != "") {
+    security_warning(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_perl0.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_perl0.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_perl0.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65968);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_cve_id("CVE-2007-5116");
- script_tag(name:"cvss_base", value:"7.5");
- script_tag(name:"risk_factor", value:"High");
- script_name("SLES10: Security update for perl");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -52,6 +41,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65968);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_cve_id("CVE-2007-5116");
+ script_tag(name:"cvss_base", value:"7.5");
+ script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
+ script_tag(name:"risk_factor", value:"High");
+ script_name("SLES10: Security update for perl");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for perl");
@@ -71,11 +73,13 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"perl", rpm:"perl~5.8.8~14.7", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"perl", rpm:"perl~5.8.8~14.7", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_hole(0);
+if (report != "") {
+    security_hole(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_poppler.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_poppler.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_poppler.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65775);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_cve_id("CVE-2009-0146", "CVE-2009-0147", "CVE-2009-0165", "CVE-2009-0166", "CVE-2009-0799", "CVE-2009-0800", "CVE-2009-1179", "CVE-2009-1180", "CVE-2009-1181", "CVE-2009-1182", "CVE-2009-1183", "CVE-2009-0755", "CVE-2009-0756");
- script_tag(name:"cvss_base", value:"10.0");
- script_tag(name:"risk_factor", value:"Critical");
- script_name("SLES10: Security update for poppler");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -54,6 +43,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65775);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_cve_id("CVE-2009-0146", "CVE-2009-0147", "CVE-2009-0165", "CVE-2009-0166", "CVE-2009-0799", "CVE-2009-0800", "CVE-2009-1179", "CVE-2009-1180", "CVE-2009-1181", "CVE-2009-1182", "CVE-2009-1183", "CVE-2009-0755", "CVE-2009-0756");
+ script_tag(name:"cvss_base", value:"10.0");
+ script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
+ script_tag(name:"risk_factor", value:"Critical");
+ script_name("SLES10: Security update for poppler");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for poppler");
@@ -73,17 +75,19 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"poppler", rpm:"poppler~0.4.4~19.23", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"poppler", rpm:"poppler~0.4.4~19.23", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"poppler-glib", rpm:"poppler-glib~0.4.4~19.23", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"poppler-glib", rpm:"poppler-glib~0.4.4~19.23", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"poppler-qt", rpm:"poppler-qt~0.4.4~19.23", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"poppler-qt", rpm:"poppler-qt~0.4.4~19.23", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_hole(0);
+if (report != "") {
+    security_hole(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_poppler0.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_poppler0.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_poppler0.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65997);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_cve_id("CVE-2008-1693");
- script_tag(name:"cvss_base", value:"6.8");
- script_tag(name:"risk_factor", value:"High");
- script_name("SLES10: Security update for poppler");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -54,6 +43,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65997);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_cve_id("CVE-2008-1693");
+ script_tag(name:"cvss_base", value:"6.8");
+ script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:P/A:P");
+ script_tag(name:"risk_factor", value:"High");
+ script_name("SLES10: Security update for poppler");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for poppler");
@@ -73,17 +75,19 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"poppler", rpm:"poppler~0.4.4~19.18", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"poppler", rpm:"poppler~0.4.4~19.18", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"poppler-glib", rpm:"poppler-glib~0.4.4~19.18", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"poppler-glib", rpm:"poppler-glib~0.4.4~19.18", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"poppler-qt", rpm:"poppler-qt~0.4.4~19.18", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"poppler-qt", rpm:"poppler-qt~0.4.4~19.18", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_hole(0);
+if (report != "") {
+    security_hole(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_postfix.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_postfix.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_postfix.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65911);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_cve_id("CVE-2008-2936", "CVE-2008-2937");
- script_tag(name:"cvss_base", value:"6.2");
- script_tag(name:"risk_factor", value:"High");
- script_name("SLES10: Security update for Postfix");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -52,6 +41,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65911);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_cve_id("CVE-2008-2936", "CVE-2008-2937");
+ script_tag(name:"cvss_base", value:"6.2");
+ script_tag(name:"cvss_base_vector", value:"AV:L/AC:H/Au:N/C:C/I:C/A:C");
+ script_tag(name:"risk_factor", value:"High");
+ script_name("SLES10: Security update for Postfix");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for Postfix");
@@ -71,11 +73,13 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"postfix", rpm:"postfix~2.2.9~10.26", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"postfix", rpm:"postfix~2.2.9~10.26", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_hole(0);
+if (report != "") {
+    security_hole(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_postfix0.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_postfix0.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_postfix0.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,15 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65957);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_tag(name:"risk_factor", value:"High");
- script_name("SLES10: Security update for Postfix");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -49,6 +40,16 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65957);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_tag(name:"risk_factor", value:"High");
+ script_name("SLES10: Security update for Postfix");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for Postfix");
@@ -68,11 +69,13 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"postfix", rpm:"postfix~2.2.9~10.23", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"postfix", rpm:"postfix~2.2.9~10.23", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_hole(0);
+if (report != "") {
+    security_hole(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_postgresql-pl.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_postgresql-pl.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_postgresql-pl.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,15 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65868);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_tag(name:"risk_factor", value:"High");
- script_name("SLES10: Security update for postgresql-pl");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -49,6 +40,16 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65868);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_tag(name:"risk_factor", value:"High");
+ script_name("SLES10: Security update for postgresql-pl");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for postgresql-pl");
@@ -68,11 +69,13 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"postgresql-pl", rpm:"postgresql-pl~8.1.17~0.4", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"postgresql-pl", rpm:"postgresql-pl~8.1.17~0.4", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_hole(0);
+if (report != "") {
+    security_hole(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_postgresql.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_postgresql.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_postgresql.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65783);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_cve_id("CVE-2009-0922");
- script_tag(name:"cvss_base", value:"4.0");
- script_tag(name:"risk_factor", value:"Medium");
- script_name("SLES10: Security update for PostgreSQL");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -57,6 +46,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65783);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_cve_id("CVE-2009-0922");
+ script_tag(name:"cvss_base", value:"4.0");
+ script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:S/C:N/I:N/A:P");
+ script_tag(name:"risk_factor", value:"Medium");
+ script_name("SLES10: Security update for PostgreSQL");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for PostgreSQL");
@@ -76,26 +78,28 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"postgresql", rpm:"postgresql~8.1.17~0.3", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"postgresql", rpm:"postgresql~8.1.17~0.3", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"postgresql-contrib", rpm:"postgresql-contrib~8.1.17~0.3", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"postgresql-contrib", rpm:"postgresql-contrib~8.1.17~0.3", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"postgresql-devel", rpm:"postgresql-devel~8.1.17~0.3", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"postgresql-devel", rpm:"postgresql-devel~8.1.17~0.3", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"postgresql-docs", rpm:"postgresql-docs~8.1.17~0.3", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"postgresql-docs", rpm:"postgresql-docs~8.1.17~0.3", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"postgresql-libs", rpm:"postgresql-libs~8.1.17~0.3", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"postgresql-libs", rpm:"postgresql-libs~8.1.17~0.3", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"postgresql-server", rpm:"postgresql-server~8.1.17~0.3", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"postgresql-server", rpm:"postgresql-server~8.1.17~0.3", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_warning(0);
+if (report != "") {
+    security_warning(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_postgresql0.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_postgresql0.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_postgresql0.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65806);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_cve_id("CVE-2009-3229", "CVE-2009-3230", "CVE-2009-3231");
- script_tag(name:"cvss_base", value:"6.8");
- script_tag(name:"risk_factor", value:"High");
- script_name("SLES10: Security update for PostgreSQL");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -58,6 +47,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65806);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_cve_id("CVE-2009-3229", "CVE-2009-3230", "CVE-2009-3231");
+ script_tag(name:"cvss_base", value:"6.8");
+ script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:P/A:P");
+ script_tag(name:"risk_factor", value:"High");
+ script_name("SLES10: Security update for PostgreSQL");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for PostgreSQL");
@@ -77,29 +79,31 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"postgresql", rpm:"postgresql~8.1.18~0.3", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"postgresql", rpm:"postgresql~8.1.18~0.3", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"postgresql-contrib", rpm:"postgresql-contrib~8.1.18~0.3", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"postgresql-contrib", rpm:"postgresql-contrib~8.1.18~0.3", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"postgresql-devel", rpm:"postgresql-devel~8.1.18~0.3", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"postgresql-devel", rpm:"postgresql-devel~8.1.18~0.3", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"postgresql-docs", rpm:"postgresql-docs~8.1.18~0.3", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"postgresql-docs", rpm:"postgresql-docs~8.1.18~0.3", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"postgresql-libs", rpm:"postgresql-libs~8.1.18~0.3", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"postgresql-libs", rpm:"postgresql-libs~8.1.18~0.3", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"postgresql-pl", rpm:"postgresql-pl~8.1.18~0.3", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"postgresql-pl", rpm:"postgresql-pl~8.1.18~0.3", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"postgresql-server", rpm:"postgresql-server~8.1.18~0.3", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"postgresql-server", rpm:"postgresql-server~8.1.18~0.3", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_hole(0);
+if (report != "") {
+    security_hole(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_postgresql1.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_postgresql1.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_postgresql1.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65971);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_cve_id("CVE-2007-6600", "CVE-2007-4772", "CVE-2007-6067", "CVE-2007-4769", "CVE-2007-6601");
- script_tag(name:"cvss_base", value:"7.2");
- script_tag(name:"risk_factor", value:"High");
- script_name("SLES10: Security update for PostgreSQL");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -58,6 +47,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65971);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_cve_id("CVE-2007-6600", "CVE-2007-4772", "CVE-2007-6067", "CVE-2007-4769", "CVE-2007-6601");
+ script_tag(name:"cvss_base", value:"7.2");
+ script_tag(name:"cvss_base_vector", value:"AV:L/AC:L/Au:N/C:C/I:C/A:C");
+ script_tag(name:"risk_factor", value:"High");
+ script_name("SLES10: Security update for PostgreSQL");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for PostgreSQL");
@@ -77,29 +79,31 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"postgresql", rpm:"postgresql~8.1.11~0.2", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"postgresql", rpm:"postgresql~8.1.11~0.2", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"postgresql-contrib", rpm:"postgresql-contrib~8.1.11~0.2", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"postgresql-contrib", rpm:"postgresql-contrib~8.1.11~0.2", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"postgresql-devel", rpm:"postgresql-devel~8.1.11~0.2", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"postgresql-devel", rpm:"postgresql-devel~8.1.11~0.2", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"postgresql-docs", rpm:"postgresql-docs~8.1.11~0.2", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"postgresql-docs", rpm:"postgresql-docs~8.1.11~0.2", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"postgresql-libs", rpm:"postgresql-libs~8.1.11~0.2", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"postgresql-libs", rpm:"postgresql-libs~8.1.11~0.2", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"postgresql-pl", rpm:"postgresql-pl~8.1.11~0.2", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"postgresql-pl", rpm:"postgresql-pl~8.1.11~0.2", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"postgresql-server", rpm:"postgresql-server~8.1.11~0.2", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"postgresql-server", rpm:"postgresql-server~8.1.11~0.2", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_hole(0);
+if (report != "") {
+    security_hole(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_python.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_python.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_python.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65883);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_cve_id("CVE-2008-1679", "CVE-2008-1887", "CVE-2008-3143", "CVE-2008-3142", "CVE-2008-3144", "CVE-2008-2315", "CVE-2008-2316");
- script_tag(name:"cvss_base", value:"9.3");
- script_tag(name:"risk_factor", value:"Critical");
- script_name("SLES10: Security update for Python");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -61,6 +50,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65883);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_cve_id("CVE-2008-1679", "CVE-2008-1887", "CVE-2008-3143", "CVE-2008-3142", "CVE-2008-3144", "CVE-2008-2315", "CVE-2008-2316");
+ script_tag(name:"cvss_base", value:"9.3");
+ script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:C/I:C/A:C");
+ script_tag(name:"risk_factor", value:"Critical");
+ script_name("SLES10: Security update for Python");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for Python");
@@ -80,38 +82,40 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"python", rpm:"python~2.4.2~18.22", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"python", rpm:"python~2.4.2~18.22", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"python-curses", rpm:"python-curses~2.4.2~18.22", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"python-curses", rpm:"python-curses~2.4.2~18.22", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"python-demo", rpm:"python-demo~2.4.2~18.22", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"python-demo", rpm:"python-demo~2.4.2~18.22", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"python-devel", rpm:"python-devel~2.4.2~18.22", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"python-devel", rpm:"python-devel~2.4.2~18.22", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"python-doc", rpm:"python-doc~2.4.2~18.19", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"python-doc", rpm:"python-doc~2.4.2~18.19", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"python-doc-pdf", rpm:"python-doc-pdf~2.4.2~18.19", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"python-doc-pdf", rpm:"python-doc-pdf~2.4.2~18.19", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"python-gdbm", rpm:"python-gdbm~2.4.2~18.22", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"python-gdbm", rpm:"python-gdbm~2.4.2~18.22", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"python-idle", rpm:"python-idle~2.4.2~18.22", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"python-idle", rpm:"python-idle~2.4.2~18.22", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"python-tk", rpm:"python-tk~2.4.2~18.22", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"python-tk", rpm:"python-tk~2.4.2~18.22", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"python-xml", rpm:"python-xml~2.4.2~18.22", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"python-xml", rpm:"python-xml~2.4.2~18.22", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_hole(0);
+if (report != "") {
+    security_hole(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_python0.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_python0.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_python0.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65933);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_cve_id("CVE-2008-4864", "CVE-2008-5031");
- script_tag(name:"cvss_base", value:"10.0");
- script_tag(name:"risk_factor", value:"Critical");
- script_name("SLES10: Security update for Python");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -59,6 +48,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65933);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_cve_id("CVE-2008-4864", "CVE-2008-5031");
+ script_tag(name:"cvss_base", value:"10.0");
+ script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
+ script_tag(name:"risk_factor", value:"Critical");
+ script_name("SLES10: Security update for Python");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for Python");
@@ -78,32 +80,34 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"python", rpm:"python~2.4.2~18.25", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"python", rpm:"python~2.4.2~18.25", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"python-curses", rpm:"python-curses~2.4.2~18.25", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"python-curses", rpm:"python-curses~2.4.2~18.25", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"python-demo", rpm:"python-demo~2.4.2~18.25", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"python-demo", rpm:"python-demo~2.4.2~18.25", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"python-devel", rpm:"python-devel~2.4.2~18.25", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"python-devel", rpm:"python-devel~2.4.2~18.25", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"python-gdbm", rpm:"python-gdbm~2.4.2~18.25", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"python-gdbm", rpm:"python-gdbm~2.4.2~18.25", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"python-idle", rpm:"python-idle~2.4.2~18.25", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"python-idle", rpm:"python-idle~2.4.2~18.25", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"python-tk", rpm:"python-tk~2.4.2~18.25", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"python-tk", rpm:"python-tk~2.4.2~18.25", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"python-xml", rpm:"python-xml~2.4.2~18.25", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"python-xml", rpm:"python-xml~2.4.2~18.25", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_hole(0);
+if (report != "") {
+    security_hole(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_python1.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_python1.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_python1.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65960);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_cve_id("CVE-2007-4965");
- script_tag(name:"cvss_base", value:"5.8");
- script_tag(name:"risk_factor", value:"High");
- script_name("SLES10: Security update for Python");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -61,6 +50,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65960);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_cve_id("CVE-2007-4965");
+ script_tag(name:"cvss_base", value:"5.8");
+ script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:N/A:P");
+ script_tag(name:"risk_factor", value:"High");
+ script_name("SLES10: Security update for Python");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for Python");
@@ -80,38 +82,40 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"python", rpm:"python~2.4.2~18.13", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"python", rpm:"python~2.4.2~18.13", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"python-curses", rpm:"python-curses~2.4.2~18.13", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"python-curses", rpm:"python-curses~2.4.2~18.13", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"python-demo", rpm:"python-demo~2.4.2~18.13", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"python-demo", rpm:"python-demo~2.4.2~18.13", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"python-devel", rpm:"python-devel~2.4.2~18.13", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"python-devel", rpm:"python-devel~2.4.2~18.13", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"python-doc", rpm:"python-doc~2.4.2~18.10", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"python-doc", rpm:"python-doc~2.4.2~18.10", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"python-doc-pdf", rpm:"python-doc-pdf~2.4.2~18.10", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"python-doc-pdf", rpm:"python-doc-pdf~2.4.2~18.10", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"python-gdbm", rpm:"python-gdbm~2.4.2~18.13", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"python-gdbm", rpm:"python-gdbm~2.4.2~18.13", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"python-idle", rpm:"python-idle~2.4.2~18.13", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"python-idle", rpm:"python-idle~2.4.2~18.13", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"python-tk", rpm:"python-tk~2.4.2~18.13", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"python-tk", rpm:"python-tk~2.4.2~18.13", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"python-xml", rpm:"python-xml~2.4.2~18.13", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"python-xml", rpm:"python-xml~2.4.2~18.13", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_hole(0);
+if (report != "") {
+    security_hole(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_quagga.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_quagga.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_quagga.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65862);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_cve_id("CVE-2009-1572");
- script_tag(name:"cvss_base", value:"5.0");
- script_tag(name:"risk_factor", value:"Medium");
- script_name("SLES10: Security update for quagga");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -53,6 +42,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65862);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_cve_id("CVE-2009-1572");
+ script_tag(name:"cvss_base", value:"5.0");
+ script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:P");
+ script_tag(name:"risk_factor", value:"Medium");
+ script_name("SLES10: Security update for quagga");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for quagga");
@@ -72,14 +74,16 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"quagga", rpm:"quagga~0.99.9~14.5", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"quagga", rpm:"quagga~0.99.9~14.5", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"quagga-devel", rpm:"quagga-devel~0.99.9~14.5", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"quagga-devel", rpm:"quagga-devel~0.99.9~14.5", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_warning(0);
+if (report != "") {
+    security_warning(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_rsh.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_rsh.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_rsh.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,15 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65820);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_tag(name:"risk_factor", value:"High");
- script_name("SLES10: Security update for rsh");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -50,6 +41,16 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65820);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_tag(name:"risk_factor", value:"High");
+ script_name("SLES10: Security update for rsh");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for rsh");
@@ -69,14 +70,16 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"rsh", rpm:"rsh~0.17~573.6", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"rsh", rpm:"rsh~0.17~573.6", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"rsh-server", rpm:"rsh-server~0.17~573.6", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"rsh-server", rpm:"rsh-server~0.17~573.6", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_hole(0);
+if (report != "") {
+    security_hole(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_rsync.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_rsync.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_rsync.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65976);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_cve_id("CVE-2007-6199", "CVE-2007-6200");
- script_tag(name:"cvss_base", value:"10.0");
- script_tag(name:"risk_factor", value:"Critical");
- script_name("SLES10: Security update for rsync");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -52,6 +41,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65976);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_cve_id("CVE-2007-6199", "CVE-2007-6200");
+ script_tag(name:"cvss_base", value:"10.0");
+ script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
+ script_tag(name:"risk_factor", value:"Critical");
+ script_name("SLES10: Security update for rsync");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for rsync");
@@ -71,11 +73,13 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"rsync", rpm:"rsync~2.6.8~36.22", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"rsync", rpm:"rsync~2.6.8~36.22", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_hole(0);
+if (report != "") {
+    security_hole(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_squid.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_squid.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_squid.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65931);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_cve_id("CVE-2008-1612");
- script_tag(name:"cvss_base", value:"4.3");
- script_tag(name:"risk_factor", value:"Medium");
- script_name("SLES10: Security update for Squid");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -52,6 +41,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65931);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_cve_id("CVE-2008-1612");
+ script_tag(name:"cvss_base", value:"4.3");
+ script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:N/A:P");
+ script_tag(name:"risk_factor", value:"Medium");
+ script_name("SLES10: Security update for Squid");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for Squid");
@@ -71,11 +73,13 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"squid", rpm:"squid~2.5.STABLE12~18.13", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"squid", rpm:"squid~2.5.STABLE12~18.13", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_warning(0);
+if (report != "") {
+    security_warning(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_squid0.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_squid0.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_squid0.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65970);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_cve_id("CVE-2007-6239");
- script_tag(name:"cvss_base", value:"5.0");
- script_tag(name:"risk_factor", value:"Medium");
- script_name("SLES10: Security update for squid");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -52,6 +41,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65970);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_cve_id("CVE-2007-6239");
+ script_tag(name:"cvss_base", value:"5.0");
+ script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:P");
+ script_tag(name:"risk_factor", value:"Medium");
+ script_name("SLES10: Security update for squid");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for squid");
@@ -71,11 +73,13 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"squid", rpm:"squid~2.5.STABLE12~18.9", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"squid", rpm:"squid~2.5.STABLE12~18.9", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_warning(0);
+if (report != "") {
+    security_warning(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_star.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_star.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_star.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65995);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_cve_id("CVE-2007-4131");
- script_tag(name:"cvss_base", value:"6.8");
- script_tag(name:"risk_factor", value:"High");
- script_name("SLES10: Security update for star");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -52,6 +41,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65995);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_cve_id("CVE-2007-4131");
+ script_tag(name:"cvss_base", value:"6.8");
+ script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:P/A:P");
+ script_tag(name:"risk_factor", value:"High");
+ script_name("SLES10: Security update for star");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for star");
@@ -71,11 +73,13 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"star", rpm:"star~1.5a70~12.6", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"star", rpm:"star~1.5a70~12.6", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_hole(0);
+if (report != "") {
+    security_hole(data:report + '\n' + desc);
 }

Modified: trunk/openvas-plugins/scripts/sles10_strongswan.nasl
===================================================================
--- trunk/openvas-plugins/scripts/sles10_strongswan.nasl	2012-02-07 15:13:37 UTC (rev 12640)
+++ trunk/openvas-plugins/scripts/sles10_strongswan.nasl	2012-02-07 15:14:10 UTC (rev 12641)
@@ -26,17 +26,6 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 
-if(description)
-{
- script_id(65758);
- script_version("$Revision$");
- script_tag(name:"last_modification", value:"$Date$");
- script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
- script_cve_id("CVE-2009-0790");
- script_tag(name:"cvss_base", value:"5.0");
- script_tag(name:"risk_factor", value:"Medium");
- script_name("SLES10: Security update for strongswan");
-
  desc = "The remote host is missing updates to packages that affect
 the security of your system.  One or more of the following packages
 are affected:
@@ -53,6 +42,19 @@
 
 Please install the updates provided by SuSE.";
 
+if(description)
+{
+ script_id(65758);
+ script_version("$Revision$");
+ script_tag(name:"last_modification", value:"$Date$");
+ script_tag(name:"creation_date", value:"2009-10-13 18:25:40 +0200 (Tue, 13 Oct 2009)");
+ script_cve_id("CVE-2009-0790");
+ script_tag(name:"cvss_base", value:"5.0");
+ script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:P");
+ script_tag(name:"risk_factor", value:"Medium");
+ script_name("SLES10: Security update for strongswan");
+
+
  script_description(desc);
 
  script_summary("SLES10: Security update for strongswan");
@@ -72,14 +74,16 @@
 
 include("revisions-lib.inc");
 include("pkg-lib-rpm.inc");
-vuln = 0;
-if(isrpmvuln(pkg:"strongswan", rpm:"strongswan~4.1.10~0.7", rls:"SLES10.0")) {
-    vuln = 1;
+
+res = "";
+report = "";
+if ((res = isrpmvuln(pkg:"strongswan", rpm:"strongswan~4.1.10~0.7", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
-if(isrpmvuln(pkg:"strongswan-doc", rpm:"strongswan-doc~4.1.10~0.7", rls:"SLES10.0")) {
-    vuln = 1;
+if ((res = isrpmvuln(pkg:"strongswan-doc", rpm:"strongswan-doc~4.1.10~0.7", rls:"SLES10.0")) != NULL) {
+    report += res;
 }
 
-if(vuln) {
-    security_warning(0);
+if (report != "") {
+    security_warning(data:report + '\n' + desc);
 }



More information about the Openvas-commits mailing list