diff --git a/ReportToolz/repgen.php b/ReportToolz/repgen.php
index 70b62e9..f06bc4a 100755
--- a/ReportToolz/repgen.php
+++ b/ReportToolz/repgen.php
@@ -89,6 +89,8 @@
$templateSource = $templateOrig;
$togo = $singlevuln['risk'];
foreach ($singlevuln as $key => $value){
+ $value = str_replace("<", "<", $value);
+ $value = str_replace(">", ">", $value);
$value = str_replace("\n", "", $value);
$templateSource = str_replace('{'.$key.'}', $value, $templateSource);
}
diff --git a/ReportToolz/repgen.php b/ReportToolz/repgen.php
index 70b62e9..f06bc4a 100755
--- a/ReportToolz/repgen.php
+++ b/ReportToolz/repgen.php
@@ -89,6 +89,8 @@
$templateSource = $templateOrig;
$togo = $singlevuln['risk'];
foreach ($singlevuln as $key => $value){
+ $value = str_replace("<", "<", $value);
+ $value = str_replace(">", ">", $value);
$value = str_replace("\n", "", $value);
$templateSource = str_replace('{'.$key.'}', $value, $templateSource);
}
diff --git a/ReportToolz/vdb.php b/ReportToolz/vdb.php
index 3fc479a..274c149 100755
--- a/ReportToolz/vdb.php
+++ b/ReportToolz/vdb.php
@@ -6,6 +6,7 @@
* Configuration options
*/
$vulnDB = "/opt/RossMarks/vdb/";
+$vdbPath = "/opt/RossMarks/DirtyScripts/ReportToolz/";
/***
* Main program - Don't edit below
@@ -13,7 +14,7 @@
#echo " +-+-+-+-+-+-+\n |V|u|l|n|D|B|\n +-+-+-+-+-+-+\n\n";
-foreach (glob("classes/*.php") as $filename)
+foreach (glob($vdbPath."classes/*.php") as $filename)
include $filename;
$definitions = new \Clapp\CommandLineArgumentDefinition(