diff --git a/ReportToolz/repgen.php b/ReportToolz/repgen.php
index 1597feb..6e33ea7 100755
--- a/ReportToolz/repgen.php
+++ b/ReportToolz/repgen.php
@@ -5,7 +5,7 @@
/***
* Configuration options
*/
-$template = "templates/odt/blank_template_v1.0.odt";
+$template = "templates/odt/blank_template_v1.1.odt";
//$CHECKtemplate = "templates/odt/blank_template_check_v0.4.odt";
$vulnTemplate = "templates/odt/vuln_template_v0.2.xml";
@@ -102,7 +102,7 @@
// create vulns for odf
$templateOrig = file_get_contents($vulnTemplate);
-$Serious = $High = $Medium = $Low = $Informational = "";
+$Serious = $High = $Medium = $Low = $Info = "";
foreach ($vuln as $singlevuln) {
$templateSource = $templateOrig;
$togo = $singlevuln['risk'];
@@ -187,7 +187,7 @@
';
$value .= $Low;
}
-if(!empty($Informational)){
+if(!empty($Info)){
$value .= '
@@ -197,7 +197,7 @@
';
- $value .= $Informational;
+ $value .= $Info;
}
// add to template
$source = file_get_contents("/tmp/$rand/content.xml");
diff --git a/ReportToolz/repgen.php b/ReportToolz/repgen.php
index 1597feb..6e33ea7 100755
--- a/ReportToolz/repgen.php
+++ b/ReportToolz/repgen.php
@@ -5,7 +5,7 @@
/***
* Configuration options
*/
-$template = "templates/odt/blank_template_v1.0.odt";
+$template = "templates/odt/blank_template_v1.1.odt";
//$CHECKtemplate = "templates/odt/blank_template_check_v0.4.odt";
$vulnTemplate = "templates/odt/vuln_template_v0.2.xml";
@@ -102,7 +102,7 @@
// create vulns for odf
$templateOrig = file_get_contents($vulnTemplate);
-$Serious = $High = $Medium = $Low = $Informational = "";
+$Serious = $High = $Medium = $Low = $Info = "";
foreach ($vuln as $singlevuln) {
$templateSource = $templateOrig;
$togo = $singlevuln['risk'];
@@ -187,7 +187,7 @@
';
$value .= $Low;
}
-if(!empty($Informational)){
+if(!empty($Info)){
$value .= '
@@ -197,7 +197,7 @@
';
- $value .= $Informational;
+ $value .= $Info;
}
// add to template
$source = file_get_contents("/tmp/$rand/content.xml");
diff --git a/ReportToolz/templates/odt/blank_template_v1.1.odt b/ReportToolz/templates/odt/blank_template_v1.1.odt
new file mode 100755
index 0000000..cdcac09
--- /dev/null
+++ b/ReportToolz/templates/odt/blank_template_v1.1.odt
Binary files differ
diff --git a/ReportToolz/repgen.php b/ReportToolz/repgen.php
index 1597feb..6e33ea7 100755
--- a/ReportToolz/repgen.php
+++ b/ReportToolz/repgen.php
@@ -5,7 +5,7 @@
/***
* Configuration options
*/
-$template = "templates/odt/blank_template_v1.0.odt";
+$template = "templates/odt/blank_template_v1.1.odt";
//$CHECKtemplate = "templates/odt/blank_template_check_v0.4.odt";
$vulnTemplate = "templates/odt/vuln_template_v0.2.xml";
@@ -102,7 +102,7 @@
// create vulns for odf
$templateOrig = file_get_contents($vulnTemplate);
-$Serious = $High = $Medium = $Low = $Informational = "";
+$Serious = $High = $Medium = $Low = $Info = "";
foreach ($vuln as $singlevuln) {
$templateSource = $templateOrig;
$togo = $singlevuln['risk'];
@@ -187,7 +187,7 @@
';
$value .= $Low;
}
-if(!empty($Informational)){
+if(!empty($Info)){
$value .= '
@@ -197,7 +197,7 @@
';
- $value .= $Informational;
+ $value .= $Info;
}
// add to template
$source = file_get_contents("/tmp/$rand/content.xml");
diff --git a/ReportToolz/templates/odt/blank_template_v1.1.odt b/ReportToolz/templates/odt/blank_template_v1.1.odt
new file mode 100755
index 0000000..cdcac09
--- /dev/null
+++ b/ReportToolz/templates/odt/blank_template_v1.1.odt
Binary files differ
diff --git a/ReportToolz/templates/odt/vuln_template_v0.2.xml b/ReportToolz/templates/odt/vuln_template_v0.2.xml
index 3bd66d2..494758d 100644
--- a/ReportToolz/templates/odt/vuln_template_v0.2.xml
+++ b/ReportToolz/templates/odt/vuln_template_v0.2.xml
@@ -66,20 +66,20 @@
-
-
-
-
+
+
+
+
-
+
Risk Level
-
+
Impact
-
+
Remediation
@@ -87,7 +87,7 @@
-
+
@@ -95,12 +95,12 @@
{risk}: {owasp}
-
+
{impact}
-
+
{remediation}