Fixed condition for showing suggestion to improve monkey success rate

This commit is contained in:
Itay Mizeretz 2017-12-12 15:43:47 +02:00
parent f2e464f2a6
commit 09e04a3763
1 changed files with 3 additions and 2 deletions

View File

@ -396,12 +396,13 @@ class ReportPageComponent extends React.Component {
</p>)
}
{
this.didMonkeyFindIssues() ?
this.state.report.glance.exploited.length > 0 ?
''
:
<p className="alert alert-info">
<i className="glyphicon glyphicon-info-sign" style={{'marginRight': '5px'}}/>
To improve the monkey's detection rates, try adding users and passwords and enable the "Local network
To improve the monkey's detection rates, try adding users and passwords and enable the "Local
network
scan" config value under <b>Basic - Network</b>.
</p>
}