Replies: 5 comments 1 reply
-
Hey @danfaizer, this sounds like a very good suggestion! One thing I think we should define is what should be considered intrusive and what should not be. Once we have that baseline decided, it should be very easy to add a field and a command-line option for the field. |
Beta Was this translation helpful? Give feedback.
-
This is an example of (in my opinion) a very intrusive test. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick response and opening the discussion. That is a good point indeed, having a generic and simple rule to decide if a check if intrusive or not is required to implement the feature successfully. In my opinion, a simple rule that may work would look something like: Non-intrusive:
Example of intrusive checks: Example of non-intrusive checks: Of course, in some cases the line is thin and opinions can differ, but can be a starting point. |
Beta Was this translation helpful? Give feedback.
-
@danfaizer and others involved in this discussion, with the latest release of nuclei, we added support of with the introduction of the config file in the latest release, you can simply add these or any tags in the config file that you wish to exclude from all the runs. |
Beta Was this translation helpful? Give feedback.
-
I wanted to raise the discussion of having intrusive checks disabled by default, largely based upon projectdiscovery/nuclei-templates@28a85e2 This template (merged and in the latest release) does an insert on a product sessions table, in addition to adding a user of |
Beta Was this translation helpful? Give feedback.
-
Is your feature request related to a problem? Please describe.
In some cases it would be convenient to run only non-intrusive templates (for legal or other reasons).
Some vulnerabilities, exposures or miss-configurations can be detected without being intrusive, but some other implies exploit the issue (create a record in a database, exploit an SSRF in the target by running a call-back, etc.) to ensure that the vulnerability is there which in some cases can be tricky.
Because how fast is growing Nuclei template repository is hard to filter out and select the templates yourself, is not a matter of laziness, is a matter of scale.
Describe the solution you'd like
It would be great if I could run nuclei specifying (with a flag for example, --non-intrusive) to run only non-intrusive checks for a given template category (i.e: CVEs).
At template level a new attribute would be required to indicate a template is non-intrusive and must be explicit.
This is only a suggestion. Feel free to comment if you would like more details or close if you don't see this feature suitable for the product. Thanks a lot for the tool! 🙇
Beta Was this translation helpful? Give feedback.
All reactions