Skip to content

Commit

Permalink
added detected web port to list of nuclei scan
Browse files Browse the repository at this point in the history
  • Loading branch information
ugomeguerditchian committed Mar 27, 2023
1 parent 109c033 commit fa48fed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions libs/ip_scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,10 @@ def run_parse_nuclei(ip_dict: dict, domain: str, mode: str, vulnconf: str) -> di
if mode == "A":
for subdomain in ip_dict[ip]["subdomains"]["subdomain_withoutdomain"]:
hosts_list.append("https://" + subdomain)
#parse all port and detect whose are web
for port in ip_dict[ip]["ports"]:
if "tech" in ip_dict[ip]["ports"][port]:
hosts_list.append("https://" + ip + ":" + port)

nuclei_results = nuclei_scan(hosts_list, domain, vulnconf)
logger.info("Nuclei scan finished")
Expand Down
2 changes: 1 addition & 1 deletion manifest
Original file line number Diff line number Diff line change
@@ -1 +1 @@
V2.2.1.3
V2.2.2

0 comments on commit fa48fed

Please sign in to comment.