nuclei: Nuclei stops to query additional paths when first path/URL is not reachable in case of ports

Hello,

I am not sure if I should not post this issue on the Nuclei github directly.

I am trying to perform a template which just match a file. The specificity here is that i add a check on another port :

 - "{{BaseURL}}/myfile.txt"
 - "{{BaseURL}}:8080/myfile.txt"

(The text context is the following: The file is available on port 8080. Server don’t answer on port 80, the base URL)

Problem is that this doesn’t work, Nuclei seems to stop the check as the server is not responding :

[INF] [MyTemplate] Loaded template File Detection Template (@Ohlala) [info]
[WRN] Could not execute step: could not make http request: GET http://###REDACTED#####/myfile.txt giving up after 2 attempts: Get "http://REDACTED/myfile.txt": dial tcp REDACTED:80: connect: connection refused

However, when using a proxy there is no problem and i got the match with the 8080 port.

Any idea ?

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 17 (9 by maintainers)

Most upvoted comments

This should be fixed with the latest release. Thank you @acarnage for the issue.

Hi @bauthard, Yes sure, I will connect later today !