From 0b45743f9ab17ef5d988688f820e95fd2b5a9ab6 Mon Sep 17 00:00:00 2001 From: nerrorsec <42860825+nerrorsec@users.noreply.github.com> Date: Mon, 25 Apr 2022 11:39:38 +0545 Subject: [PATCH] Update custom.js --- web/static/custom/custom.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/static/custom/custom.js b/web/static/custom/custom.js index 0521a9c32..e442410b2 100644 --- a/web/static/custom/custom.js +++ b/web/static/custom/custom.js @@ -945,7 +945,7 @@ function show_subscan_results(subscan_id) { } $('#xl-modal-content').append(`
Scan Status: ${scan_status}
`); console.log(response); - $('#xl-modal-content').append(`
Engine Used: ${response['subscan']['engine']}
`); + $('#xl-modal-content').append(`
Engine Used: ${htmlEncode(response['subscan']['engine'])}
`); if (response['result'].length > 0) { if (response['subscan']['task'] == 'port_scan') { $('#xl-modal-content').append(`
`); @@ -1351,7 +1351,7 @@ function get_and_render_subscan_history(subdomain_id, subdomain_name) {
- ${task_name} on ${result_obj.subdomain_name} using engine ${result_obj.engine} + ${task_name} on ${result_obj.subdomain_name} using engine ${htmlEncode(result_obj.engine)}