diff --git a/web/startScan/templates/startScan/subdomains.html b/web/startScan/templates/startScan/subdomains.html index a040cb37..7de5abc8 100644 --- a/web/startScan/templates/startScan/subdomains.html +++ b/web/startScan/templates/startScan/subdomains.html @@ -296,12 +296,17 @@ $(document).ready(function() { // Action { "render": function ( data, type, row ) { + const cms_detector_http_url = row['http_url'] ? row['http_url'] : 'https://' + row['name']; return ` -
- - - - +
+ + + +
`; }, diff --git a/web/startScan/views.py b/web/startScan/views.py index 34278b66..a610b7f6 100644 --- a/web/startScan/views.py +++ b/web/startScan/views.py @@ -134,6 +134,8 @@ def all_subdomains(request): context['important_count'] = Subdomain.objects.values('name').distinct().filter( is_important=True).count() + context['scan_engines'] = EngineType.objects.all() + context['scan_history_active'] = 'active' return render(request, 'startScan/subdomains.html', context) diff --git a/web/targetApp/templates/target/summary.html b/web/targetApp/templates/target/summary.html index 26e7251f..463c5bc2 100644 --- a/web/targetApp/templates/target/summary.html +++ b/web/targetApp/templates/target/summary.html @@ -1044,12 +1044,17 @@ $(document).ready(function(){ // Action { "render": function ( data, type, row ) { + const cms_detector_http_url = row['http_url'] ? row['http_url'] : 'https://' + row['name']; return ` -
- - - - + `; }, diff --git a/web/targetApp/views.py b/web/targetApp/views.py index a0333a2f..cd4bfc72 100644 --- a/web/targetApp/views.py +++ b/web/targetApp/views.py @@ -255,6 +255,8 @@ def target_summary(request, id): context['endpoint_count'] = endpoints.count() context['endpoint_alive_count'] = endpoints.filter(http_status__exact=200).count() + context['scan_engines'] = EngineType.objects.all() + info_count = Vulnerability.objects.filter( target_domain=id).filter(severity=0).count() low_count = Vulnerability.objects.filter( diff --git a/web/templates/base/_items/subscan_modal.html b/web/templates/base/_items/subscan_modal.html index 97ac04dc..8a8f2c2c 100644 --- a/web/templates/base/_items/subscan_modal.html +++ b/web/templates/base/_items/subscan_modal.html @@ -41,7 +41,6 @@ {% endif %} {% endfor %} -