Is there an existing issue for this?
Current Behavior
When running nuclei on a target example:80, network and javascript templates ignore the provided port and instead use the port specified in the template. This behavior cannot be changed for the whole scan. As a result, SSH servers and other network services running on port 80 (and similar) are hidden from Nuclei and never scanned.
Expected Behavior
Nuclei scans the target on the provided port if requested.
Steps To Reproduce
nuclei -verbose -t network/cves/2001/CVE-2001-1473.yaml -target TARGET:80
# [WRN] [CVE-2001-1473] Could not make network request for (147.251.125.30:22) : could not connect to server: cause="context cancelled before establishing connection" address=147.251.125.30:22 chain="context deadline exceeded"
Relevant log output
Environment
- OS: Arch
- Nuclei: v3.7.1
- Go: go1.22.2 linux/amd64
Anything else?
No response
Is there an existing issue for this?
Current Behavior
When running nuclei on a target
example:80, network and javascript templates ignore the provided port and instead use the port specified in the template. This behavior cannot be changed for the whole scan. As a result, SSH servers and other network services running on port 80 (and similar) are hidden from Nuclei and never scanned.Expected Behavior
Nuclei scans the target on the provided port if requested.
Steps To Reproduce
nuclei -verbose -t network/cves/2001/CVE-2001-1473.yaml -target TARGET:80 # [WRN] [CVE-2001-1473] Could not make network request for (147.251.125.30:22) : could not connect to server: cause="context cancelled before establishing connection" address=147.251.125.30:22 chain="context deadline exceeded"Relevant log output
Environment
Anything else?
No response