diff --git a/monkey/monkey_island/cc/ui/src/components/report-components/RansomwareReport.js b/monkey/monkey_island/cc/ui/src/components/report-components/RansomwareReport.js index 07a6ceb15..bb24dcaa1 100644 --- a/monkey/monkey_island/cc/ui/src/components/report-components/RansomwareReport.js +++ b/monkey/monkey_island/cc/ui/src/components/report-components/RansomwareReport.js @@ -18,23 +18,29 @@ class RansomwareReport extends React.Component { } getExploitationStats() { - let num_scanned = this.props.report.propagation_stats.num_scanned_nodes; - let num_exploited = this.props.report.propagation_stats.num_exploited_nodes; - return (
- The Monkey discovered {num_scanned} machines - and successfully breached {num_exploited} of them. -
+ {this.getScannedVsExploitedStats()} {this.getExploitationStatsPerExploit()}+ The Monkey discovered {num_scanned} machines + and successfully breached {num_exploited} of them. +
+ ) + } + getExploitationStatsPerExploit() { let exploit_counts = this.props.report.propagation_stats.num_exploited_per_exploit;