44 Commits

Author SHA1 Message Date
Alexey Zhuchkov
3e8a0af36f Add exclude severity filter 2021-10-08 22:27:27 +03:00
forgedhallpass
555e609173 Merge remote-tracking branch 'origin/dev' into code_smells 2021-09-07 17:36:34 +03:00
forgedhallpass
16a54e3b98 YAML Unmarshal error in reporting template #995 2021-09-03 16:48:39 +03:00
forgedhallpass
0cabce518f Merge branch 'dev' into code_smells 2021-09-02 12:30:43 +03:00
forgedhallpass
f9eb8ba8ac Changed/removed some documentation/comments 2021-09-01 17:34:51 +03:00
Ice3man543
7bdb826c43 Misc fix 2021-08-31 23:58:43 +05:30
Ice3man543
60904cadd4 Fixed workflow running without being specified during balidation 2021-08-31 23:30:07 +05:30
forgedhallpass
f36ed8df64 Removed unused parameter 2021-08-31 13:21:15 +03:00
Ice3man543
30f6498fe2 Replace error constant with an error type 2021-08-28 00:21:07 +05:30
forgedhallpass
52b26fd601 Minor refactor to remove duplicate logic when validating templates. 2021-08-27 17:21:02 +03:00
forgedhallpass
36b1c08edc Optimize template validation 2021-08-27 17:06:06 +03:00
forgedhallpass
095e78e431 Fix filtering by severity in case of workflows. 2021-08-27 17:05:12 +03:00
forgedhallpass
2e0552411f Extending test cases for template filtering to make sure that the filter criteria is used with OR operand in case of multiple values + positive and negative scenario for the "extraTags" parameter 2021-08-20 16:21:44 +03:00
forgedhallpass
6bfd6bd28f Adjusting the template/workflow loading/filtering logic. 2021-08-19 15:17:25 +03:00
Ice3man543
01b902f119 Cleanup some loader parts + moved workflow loading separate 2021-08-19 01:58:54 +05:30
forgedhallpass
d3154648d2 Merge remote-tracking branch 'upstream/dev' 2021-08-03 15:26:45 +03:00
forgedhallpass
a0f7e622b1 RES-84 # Improve Nuclei CLI interface (WIP)
* fix/improve matching logic
2021-08-03 14:59:38 +03:00
forgedhallpass
2f162e859e RES-84 # Improve Nuclei CLI interface (WIP)
* removed the generic isEmpty implementation
2021-08-03 14:51:34 +03:00
Ice3man543
ae25d1d108 Fixed filter exclude issue 2021-07-26 16:57:45 +05:30
TheSecEng
2bea3f4b14
all for custom preprocessor 2021-07-20 22:32:44 -07:00
forgedhallpass
a431d6d6a8 RES-84 # Improve Nuclei CLI interface
* linter related
* removed some un-used code
2021-07-20 13:06:18 +03:00
forgedhallpass
5d89bb8056 RES-84 # Improve Nuclei CLI interface
* fixed issues reported by the linter
2021-07-19 21:04:08 +03:00
forgedhallpass
2635c65ce2 RES-84 # Improve Nuclei CLI interface (WIP)
* moved the Severity "enum" back to Nuclei (1 unit test failing)
2021-07-16 17:28:13 +03:00
forgedhallpass
5a495e1e99 RES-84 # Improve Nuclei CLI interface (WIP)
* Integration of the previous logic to 2.4.0
* Unit and ITs passing
* refactored the template matching logic
2021-07-15 13:41:41 +03:00
forgedhallpass
ed1dc103fe RES-84 # Improve Nuclei CLI interface (WIP)
* Merge from parent

# Conflicts:
#	v2/cmd/nuclei/main.go
#	v2/internal/runner/config.go
#	v2/internal/runner/templates.go
#	v2/internal/runner/update.go
#	v2/pkg/templates/compile.go
#	v2/pkg/templates/compile_test.go
#	v2/pkg/types/types.go
2021-07-12 17:20:01 +03:00
Ice3man543
e6aad9a9a7 Fixed lowercase uppercase tag/author/severity 2021-07-08 15:22:48 +05:30
Ice3man543
8f74415cc5 Fix double errors + silent stats show 2021-07-07 19:56:20 +05:30
Ice3man543
8de221f137 Pleasing the linter 2021-07-07 19:16:48 +05:30
Ice3man543
8a80d11467 Support workflows + general code refactor 2021-07-07 19:15:09 +05:30
Ice3man543
da37020939 Fixed occured spelling 2021-07-07 19:05:26 +05:30
Ice3man543
94365a58dc Added validate flag to validate templates 2021-07-07 19:03:14 +05:30
Ice3man543
b7d1d5e69e Fixed tag inclusion logic 2021-07-06 17:37:18 +05:30
Ice3man543
142e3709c7 Fixed bug with workflow 2021-07-06 13:18:18 +05:30
Ice3man543
d05453effe Fixed workflow conditions 2021-07-05 17:41:39 +05:30
Ice3man543
aaf38a531e Fixed lint errors + misc 2021-07-05 17:29:45 +05:30
Ice3man543
39af527234 Fixed some bugs with workflow loader 2021-07-05 14:25:42 +05:30
Ice3man543
0726acc3d1 Workflows restructured to work with filters + tag support 2021-07-05 04:35:53 +05:30
Ice3man543
714aec1219 Fixed lint tests 2021-07-02 15:46:42 +05:30
Ice3man543
cddb0cb8af Fixed exclude filter for tags 2021-07-01 21:09:33 +05:30
Ice3man543
d57d1ecae2 Fixed filter allow condition with tag and etags 2021-07-01 21:02:57 +05:30
Ice3man543
6bc0b34354 Fixed include condition logic 2021-07-01 16:29:26 +05:30
Ice3man543
ba3804107e Fix some exclude conditions for tags 2021-07-01 16:16:23 +05:30
Ice3man543
dff76e9cd2 Loader rewriter working poc 2021-07-01 14:36:40 +05:30
Ice3man543
7669e9781a Rework template loading into individual module + better tags and filters 2021-06-30 18:39:01 +05:30