Templates with multiple DNS requests fail when the input is in "host:port" format #5425
Labels
Type: Bug
Inconsistencies or issues which will cause an issue or problem for users or implementors.
Milestone
Nuclei version:
3.3.0
Current Behavior:
While executing a DNS template with multiple requests with a
host:port
input(s), the FQDN variable includes the port that causes the DNS requests to fail.Expected Behavior:
The FQDN variable should not include a port regardless of the input format or the template protocol.
Steps To Reproduce:
test-multi-request-input-handling.yaml
nuclei -debug -u example.com:443 -t test-multi-request-input-handling.yaml
Anything else:
The FQDN is parsed correctly when the template has a single request, uses another protocol, or when the input is a full URL.
The text was updated successfully, but these errors were encountered: