Skip to content

Commit

Permalink
debug ip parsing result
Browse files Browse the repository at this point in the history
  • Loading branch information
ugomeguerditchian committed Mar 17, 2023
1 parent 6e135af commit dc4d0f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/ip_scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ def run_parse_nuclei(ip_dict: dict, domain: str, mode :str, vulnconf :str) -> di
for ip in ip_dict:
ip_dict[ip]["vulns"] = []
for result in nuclei_results:
if result["host"] == ip or result["host"] == "https://"+ip or result["ip"]:
if result["host"] == ip or result["host"] == "https://"+ip:
ip_dict[ip]["vulns"].append(result)
#add vulns key to subdomains and add the nuclei results, split the 'https://' from the subdomain

Expand Down

0 comments on commit dc4d0f4

Please sign in to comment.