This repository was archived by the owner on Feb 26, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-12
lines changed
scb-scanprocesses/ncrack-process/src/main/resources/forms/ncrack Expand file tree Collapse file tree 2 files changed +8
-12
lines changed Original file line number Diff line number Diff line change 3030
3131 camForm . on ( 'variables-restored' , function ( ) {
3232 $scope . context = camForm . variableManager . variableValue ( 'PROCESS_CONTEXT' ) ;
33-
3433 $scope . scannerId = camForm . variableManager . variableValue ( 'PROCESS_SCANNER_ID' ) ;
3534 $scope . scannerResult = JSON . parse ( camForm . variableManager . variableValue ( 'PROCESS_FINDINGS' ) ) ;
3635 $scope . scannerTargets = JSON . parse ( camForm . variableManager . variableValue ( 'PROCESS_TARGETS' ) ) ;
3736 } ) ;
3837 </ script >
3938 < div ng-repeat ="target in scannerTargets ">
40- < h2 > scan results for "{{ target.name }}"</ h2 >
39+ < h2 > Ncrack Scan Results for "{{ target.name }}"</ h2 >
4140
4241 < div class ="row ">
4342 < div class ="col-xs-2 "> < label > Scanner Id:</ label > </ div >
@@ -59,15 +58,16 @@ <h2>scan results for "{{ target.name }}"</h2>
5958 < table class ="table table-striped ">
6059 < tr >
6160 < th > Host:</ th >
61+ < th > Service:</ th >
6262 < th > Name:</ th >
63- < th > Category:</ th >
6463 < th > Severity:</ th >
65- < th > Reference:</ th >
64+ < th > Username:</ th >
65+ < th > Password:</ th >
6666 </ tr >
6767 < tr class ="danger " ng-repeat ="result in scannerResult ">
6868 < td > {{ result.location }}</ td >
69+ < td > {{ result.attributes.service }}</ td >
6970 < td > {{ result.name }}</ td >
70- < td > {{ result.category }}</ td >
7171 < td >
7272 < div ng-switch on ="result.severity ">
7373 < span class ="label label-danger " ng-switch-when ="HIGH ">
@@ -96,8 +96,8 @@ <h2>scan results for "{{ target.name }}"</h2>
9696 </ div >
9797
9898 </ td >
99- < td > {{ result.reference.id }}
100- </ td >
99+ < td > {{ result.attributes.username }}</ td >
100+ < td > {{ result.attributes.password }} < /td >
101101 </ tr >
102102 </ table >
103103 </ div >
Original file line number Diff line number Diff line change @@ -63,11 +63,7 @@ <h3>Ncrack Target</h3>
6363 <!-- Target Hosts -->
6464 < div class ="form-group ">
6565 < div class ="controls row form-group ">
66- < < < < < < < HEAD
6766 < div class ="col-xs-6 ">
68- =======
69- < div class ="col-xs-5 ">
70- > > > > > > > 881d595c22d3a47af05f3b9be7a01a86f4eef76e
7167 < label > Target Name</ label >
7268 < input required class ="form-control "
7369 type ="text "
@@ -97,7 +93,7 @@ <h3>Ncrack Target</h3>
9793 />
9894 </ div >
9995 </ div >
100- < code class =""> {{ target }}</ code >
96+ < code class ="hidden "> {{ target }}</ code >
10197 </ div >
10298
10399 <!-- Context (Project/Team/System...) -->
You can’t perform that action at this time.
0 commit comments