diff --git a/ReportToolz/repgen.php b/ReportToolz/repgen.php index cc92ba9..44d4942 100755 --- a/ReportToolz/repgen.php +++ b/ReportToolz/repgen.php @@ -35,7 +35,7 @@ //get config file $config = json_decode(file_get_contents($filter->getParam("path")."config.conf")); -$riskRatings = array("Serious","High","Medium","Low"); +$riskRatings = array("Serious","High","Medium","Low","Info"); //create owasp top 10 placeholders for ($i=1; $i <= 10 ; $i++) { $padNo = sprintf("%02d", $i); ${"A".$padNo} = 0; } @@ -189,7 +189,7 @@ } // create sumaries tables -$Summary_Serious_Final = $Summary_High_Final = $Summary_Medium_Final = $Summary_Low_Final = ""; +$Summary_Serious_Final = $Summary_High_Final = $Summary_Medium_Final = $Summary_Low_Final = $Summary_Info_Final = ""; $placeA = 1; foreach ($riskRatings as $riskKey => $riskVal) { $placeB = 1; @@ -363,6 +363,7 @@ $source = str_replace('{summary_table_high}', $Summary_High_Final, $source); $source = str_replace('{summary_table_medium}', $Summary_Medium_Final, $source); $source = str_replace('{summary_table_low}', $Summary_Low_Final, $source); +$source = str_replace('{summary_table_info}', $Summary_Info_Final, $source); echo "[+] added findings summary tables\n"; //update owasp count tables diff --git a/ReportToolz/repgen.php b/ReportToolz/repgen.php index cc92ba9..44d4942 100755 --- a/ReportToolz/repgen.php +++ b/ReportToolz/repgen.php @@ -35,7 +35,7 @@ //get config file $config = json_decode(file_get_contents($filter->getParam("path")."config.conf")); -$riskRatings = array("Serious","High","Medium","Low"); +$riskRatings = array("Serious","High","Medium","Low","Info"); //create owasp top 10 placeholders for ($i=1; $i <= 10 ; $i++) { $padNo = sprintf("%02d", $i); ${"A".$padNo} = 0; } @@ -189,7 +189,7 @@ } // create sumaries tables -$Summary_Serious_Final = $Summary_High_Final = $Summary_Medium_Final = $Summary_Low_Final = ""; +$Summary_Serious_Final = $Summary_High_Final = $Summary_Medium_Final = $Summary_Low_Final = $Summary_Info_Final = ""; $placeA = 1; foreach ($riskRatings as $riskKey => $riskVal) { $placeB = 1; @@ -363,6 +363,7 @@ $source = str_replace('{summary_table_high}', $Summary_High_Final, $source); $source = str_replace('{summary_table_medium}', $Summary_Medium_Final, $source); $source = str_replace('{summary_table_low}', $Summary_Low_Final, $source); +$source = str_replace('{summary_table_info}', $Summary_Info_Final, $source); echo "[+] added findings summary tables\n"; //update owasp count tables diff --git a/ReportToolz/templates/odt/blank_template_v3.0.odt b/ReportToolz/templates/odt/blank_template_v3.0.odt index b2eaf07..90cfb5c 100755 --- a/ReportToolz/templates/odt/blank_template_v3.0.odt +++ b/ReportToolz/templates/odt/blank_template_v3.0.odt Binary files differ