Fixed SSH exploiter's report section in UI

This commit is contained in:
VakarisZ 2021-03-31 11:54:20 +03:00
parent e96b8eec38
commit 05fda70cd6
1 changed files with 5 additions and 2 deletions

View File

@ -26,7 +26,7 @@ import {MssqlIssueOverview, MssqlIssueReport} from './security/issues/MssqlIssue
import {DrupalIssueOverview, DrupalIssueReport} from './security/issues/DrupalIssue'; import {DrupalIssueOverview, DrupalIssueReport} from './security/issues/DrupalIssue';
import {VsftpdIssueOverview, VsftpdIssueReport} from './security/issues/VsftpdIssue'; import {VsftpdIssueOverview, VsftpdIssueReport} from './security/issues/VsftpdIssue';
import {generateWmiPasswordIssue, generateWmiPthIssue} from './security/issues/WmiIssue'; import {generateWmiPasswordIssue, generateWmiPthIssue} from './security/issues/WmiIssue';
import {ShhIssueReport, SshIssueOverview} from './security/issues/SshIssue'; import {generateSshKeysReport, ShhIssueReport, SshIssueOverview} from './security/issues/SshIssue';
import {SambacryIssueOverview, SambacryIssueReport} from './security/issues/SambacryIssue'; import {SambacryIssueOverview, SambacryIssueReport} from './security/issues/SambacryIssue';
import {ElasticIssueOverview, ElasticIssueReport} from './security/issues/ElasticIssue'; import {ElasticIssueOverview, ElasticIssueReport} from './security/issues/ElasticIssue';
import {ShellShockIssueOverview, ShellShockIssueReport} from './security/issues/ShellShockIssue'; import {ShellShockIssueOverview, ShellShockIssueReport} from './security/issues/ShellShockIssue';
@ -120,7 +120,10 @@ class ReportPageComponent extends AuthComponent {
}, },
'SSHExploiter': { 'SSHExploiter': {
[this.issueContentTypes.OVERVIEW]: SshIssueOverview, [this.issueContentTypes.OVERVIEW]: SshIssueOverview,
[this.issueContentTypes.REPORT]: ShhIssueReport, [this.issueContentTypes.REPORT]: {
[this.credentialTypes.PASSWORD]: ShhIssueReport,
[this.credentialTypes.KEY]: generateSshKeysReport
},
[this.issueContentTypes.TYPE]: this.issueTypes.DANGER [this.issueContentTypes.TYPE]: this.issueTypes.DANGER
}, },
'SambaCryExploiter': { 'SambaCryExploiter': {