From 0c171bc7c8114c5a468af2e2646ae3d4be503c27 Mon Sep 17 00:00:00 2001 From: Raynald Date: Tue, 17 Oct 2023 12:07:01 +0200 Subject: [PATCH 1/2] Fix dir fuzz base64 name in popup --- 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 4cb332a04..1ca19be0e 100644 --- a/web/static/custom/custom.js +++ b/web/static/custom/custom.js @@ -1279,7 +1279,7 @@ function render_directories_in_xl_modal(directory_count, subdomain_name, result) var dir = result[dir_obj]; $('#directory_tbody').append(` - ${dir.name} + ${atob(dir.name)} ${get_http_status_badge(dir.http_status)} ${dir.length} ${dir.lines} @@ -2542,7 +2542,7 @@ function get_most_vulnerable_target(slug=null, scan_id=null, target_id=null, ign - + ² `); From fcfc4b7e4e752f6fbdbd007081a4e7f55ae17f84 Mon Sep 17 00:00:00 2001 From: Raynald Date: Tue, 17 Oct 2023 12:18:03 +0200 Subject: [PATCH 2/2] Fix dir fuzz base64 name in scanner list --- web/startScan/templates/startScan/detail_scan.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/startScan/templates/startScan/detail_scan.html b/web/startScan/templates/startScan/detail_scan.html index 5d12d153f..7da30388e 100644 --- a/web/startScan/templates/startScan/detail_scan.html +++ b/web/startScan/templates/startScan/detail_scan.html @@ -1963,7 +1963,7 @@

${lines_word_content}`; } - html_treeview += `
  • ` + htmlEncode(file.name) + ` (` + file.length / 100 + ` Kb) (` + htmlEncode(file.content_type) + `) ${http_status_badge}${interesting_badge} ${lines_word_badge}
  • `; + html_treeview += `
  • ` + htmlEncode(atob(file.name)) + ` (` + file.length / 100 + ` Kb) (` + htmlEncode(file.content_type) + `) ${http_status_badge}${interesting_badge} ${lines_word_badge}
  • `; }); } item_pos++;