reNgine-ng is an automated reconnaissance framework for web applications with a focus on highly configurable streamlined recon process via Engines, recon data correlation and organization, continuous monitoring, backed by a database, and simple yet intuitive User Interface.
Reading this issue I was able to split this feature in two tasks :
[ ] Selecting all vulnerabilities in vulnerability page
[ ] Bulk deleting selected vulnerabilities
Selecting all vulnerabilities in vulnerability page :
Edited template in web/templates/base/_items/vulnerability_tab_content.html :
Added input called select_all_checkbox
Added a class .vulnerability_checkbox to vulnerability check box to be able to change their status with JS via Listener Template : web/templates/base/_items/vulnerabilities.html
Added a JS listener to select_all_checkbox that triggers a click on .vulnerability_checkbox items File : web/static/web/custom/custom.js
Bulk deleting selected vulnerabilities :
Added a button for bulk deleting in template File : web/templates/base/_items/vulnerability_tab_content.html
Added a JS listener that gets selected vulnerabilities formats Id and send them to API (reused a piece of code) File : web/static/web/custom/custom.js
Results :
I've tested both function using the results of a scan I did on a metasploitable machine :100:
Selecting all seems to work :+1:
Bulk deletion seems to work :+1:
I would appreciate it if you can do some tests on your side and notify me if there are any bugs
This PR is answering feat(ui): #43
Reading this issue I was able to split this feature in two tasks :
Selecting all vulnerabilities in vulnerability page :
Results :
I would appreciate it if you can do some tests on your side and notify me if there are any bugs