Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add source for nmap scan
  • Loading branch information
psyray committed Dec 5, 2023
commit a4073df85fb33908b3fd2e92ecbabee01753b0b2
1 change: 1 addition & 0 deletions web/reNgine/definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
DALFOX = 'dalfox'
S3SCANNER = 's3scanner'
NUCLEI = 'nuclei'
NMAP = 'nmap'
CRLFUZZ = 'crlfuzz'
WAF_EVASION = 'waf_evasion'
BLIND_XSS_SERVER = 'blind_xss_server'
Expand Down
3 changes: 2 additions & 1 deletion web/reNgine/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -3233,8 +3233,9 @@ def parse_nmap_results(xml_file, output_file=None):
else:
logger.warning(f'Script output parsing for script "{script_id}" is not supported yet.')

# Add URL to vuln
# Add URL & source to vuln
for vuln in url_vulns:
vuln['source'] = NMAP
# TODO: This should extend to any URL, not just HTTP
vuln['http_url'] = url
if 'http_path' in vuln:
Expand Down