File tree 4 files changed +10
-10
lines changed
startScan/templates/startScan
targetApp/templates/target
4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -3671,7 +3671,7 @@ def parse_nuclei_result(line):
3671
3671
'type' : line ['type' ],
3672
3672
'severity' : NUCLEI_SEVERITY_MAP [line ['info' ].get ('severity' , 'unknown' )],
3673
3673
'template' : line ['template' ],
3674
- 'template_url' : line [ 'template-url' ] ,
3674
+ 'template_url' : line . get ( 'template-url' , []) ,
3675
3675
'template_id' : line ['template-id' ],
3676
3676
'description' : line ['info' ].get ('description' , '' ),
3677
3677
'matcher_name' : line .get ('matcher-name' , '' ),
Original file line number Diff line number Diff line change @@ -1752,18 +1752,18 @@ <h4 class="header-title mb-0"><span id="endpoint_change_count"><span class="spin
1752
1752
const encodedURLData = htmlEncode ( data ) ;
1753
1753
1754
1754
if ( data . toLowerCase ( ) . startsWith ( 'http' ) ) {
1755
- return `<a href="${ encodedData } "
1755
+ return `<a href="${ encodedURLData } "
1756
1756
target="_blank"
1757
1757
rel="noopener noreferrer"
1758
1758
class="text-danger">
1759
- ${ split_into_lines ( encodedData , 150 ) }
1759
+ ${ split_into_lines ( encodedURLData , 150 ) }
1760
1760
</a>` ;
1761
1761
}
1762
1762
}
1763
1763
return htmlEncode ( data || '' ) ;
1764
1764
} ,
1765
1765
"targets" : 11 ,
1766
- }
1766
+ } ,
1767
1767
{
1768
1768
"render" : function ( data , type , row ) {
1769
1769
if ( data ) {
Original file line number Diff line number Diff line change 199
199
const encodedURLData = htmlEncode ( data ) ;
200
200
201
201
if ( data . toLowerCase ( ) . startsWith ( 'http' ) ) {
202
- return `<a href="${ encodedData } "
202
+ return `<a href="${ encodedURLData } "
203
203
target="_blank"
204
204
rel="noopener noreferrer"
205
205
class="text-danger">
206
- ${ split_into_lines ( encodedData , 150 ) }
206
+ ${ split_into_lines ( encodedURLData , 150 ) }
207
207
</a>` ;
208
208
}
209
209
}
210
210
return htmlEncode ( data || '' ) ;
211
211
} ,
212
212
"targets" : 11 ,
213
- }
213
+ } ,
214
214
{
215
215
"render" : function ( data , type , row ) {
216
216
if ( data ) {
Original file line number Diff line number Diff line change @@ -1512,18 +1512,18 @@ <h4 class="header-title mb-0"><span id="technologies-count"><span class="spinner
1512
1512
const encodedURLData = htmlEncode ( data ) ;
1513
1513
1514
1514
if ( data . toLowerCase ( ) . startsWith ( 'http' ) ) {
1515
- return `<a href="${ encodedData } "
1515
+ return `<a href="${ encodedURLData } "
1516
1516
target="_blank"
1517
1517
rel="noopener noreferrer"
1518
1518
class="text-danger">
1519
- ${ split_into_lines ( encodedData , 150 ) }
1519
+ ${ split_into_lines ( encodedURLData , 150 ) }
1520
1520
</a>` ;
1521
1521
}
1522
1522
}
1523
1523
return htmlEncode ( data || '' ) ;
1524
1524
} ,
1525
1525
"targets" : 11 ,
1526
- }
1526
+ } ,
1527
1527
{
1528
1528
"render" : function ( data , type , row ) {
1529
1529
if ( data ) {
You can’t perform that action at this time.
0 commit comments