forgedhallpass
10cf1053f8
feat: Improve DSL function UX #1295 ( #1351 )
...
* feat: Improve DSL function UX #1295
Sort the output signatures
* feat: Improve DSL function UX #1295
Sort the output signatures.
Lint: simplified the sorting.
2021-12-09 14:02:01 +05:30
forgedhallpass
2d5784d992
Merge branch 'dev' into dsl_signatures
2021-12-07 18:22:10 +02:00
forgedhallpass
d05c4dc122
refactor: renamed misleading receiver names
2021-12-07 18:01:34 +02:00
forgedhallpass
79aed22d46
feat: Improve DSL function UX #1295
...
Added support for letting people know if:
* the DSL expression does not return a boolean value
* an invalid custom function signature was provided and then display all available function signatures
* an invalid function was provided and then display the correct signature
Unified the DSL function names to use snake case. The old signatures are also kept for backward compatibility.
2021-12-07 17:34:36 +02:00
Sajad Parra
7a96a7c931
Merge branch 'dev' into dsl-variable-support
2021-12-02 16:50:50 +05:30
Sandeep Singh
3b68c29f48
Merge pull request #1288 from projectdiscovery/dynamic-value-reuse-http
...
Reusing dynamically extracted values as iterators in http request
2021-12-02 16:27:59 +05:30
Sajad Parra
5b99921d75
add unit and integration tests for dsl variable #555
2021-11-30 20:20:43 +05:30
Ice3man543
72a387c40a
Merge from dev
2021-11-30 16:55:09 +05:30
Ice3man543
eb7c704d36
Merging from dev
2021-11-30 16:23:39 +05:30
Sajad Parra
d97aee01c3
Merge branch 'dev' of https://github.com/projectdiscovery/nuclei into dsl-variable-support
2021-11-29 13:36:09 +05:30
forgedhallpass
c61ec5f673
feat: Improve DSL function UX #1295
2021-11-26 17:14:25 +02:00
forgedhallpass
7e22d70ded
refactor/documentation: typos and grammatical errors
2021-11-25 18:54:16 +02:00
forgedhallpass
47340f06b0
refactor: uniformly sorted imports
2021-11-25 17:09:20 +02:00
forgedhallpass
3fd1f57b96
refactor: godoc and comment uniformization
...
Adding space after // and before the godoc/comment
2021-11-25 17:03:56 +02:00
forgedhallpass
c8d009654c
fix: Receiver mismatch warnings
2021-11-25 16:57:43 +02:00
Ice3man543
caaa5c6594
Automatically generate docs for enum values
2021-11-25 19:34:01 +05:30
Sajad Parra
7e9272776d
add variable support to dsl, remove dynamicValues from request struct
2021-11-25 16:19:42 +05:30
Ice3man543
393babe3c3
Made iterate of values controllable with iterate-all-values flag in http
2021-11-24 22:40:17 +05:30
Ice3man543
273233bb81
Fixed a bug with mergemanymaps + misc lint fixes
2021-11-24 21:56:55 +05:30
Ice3man543
ef5b476c6d
Reusing dynamically extracted values as iterators in http request
...
This PR adds the support in http module to iterate over the dynamically extracted data from extractors
and use it in other requests. This allows nuclei to follow links on pages, do operations with
multiple versions of the same extracted value, etc.
2021-11-24 21:08:08 +05:30
Ice3man543
bdf1c2010b
Fixed jsonschema for matchertype missing String()
2021-11-20 19:50:18 +05:30
Ice3man543
66dacccfb4
Fixed matcher type integer issue
2021-11-20 19:47:05 +05:30
LuitelSamikshya
4b8ec29d8d
struct to enums changes for Matchers ( #1246 )
...
* struct to enums changes for Matchers
2021-11-19 16:24:09 +05:30
LuitelSamikshya
2856e7e247
Extractor + Headless Actions structures to enums ( #1217 )
...
* enum support for extractor
2021-11-19 01:41:10 +05:30
Ice3man
eaa0d37065
feat #1092 : Validate binary values + precompile them as well ( #1213 )
...
* Added validation for binary values + precompile them
* Changed name of the binary matcher field
Co-authored-by: sandeep <sandeep@projectdiscovery.io>
2021-11-17 02:04:27 +05:30
Ice3man
50a816fce9
Fixed a crash with uninitialized interactsh client ( #1251 )
...
* Fixed a crash with uninitialized interactsh client
2021-11-16 20:02:39 +05:30
Ice3man543
90a0502b60
Misc fixes to default part
2021-11-11 17:30:25 +05:30
Ice3man543
7d0529aaf7
Fixed gzip encoding bug + added test case
2021-11-08 17:39:08 +05:30
Ice3man543
88a296c9a7
Adding gzip encoding helpers
2021-11-08 16:24:47 +05:30
Ice3man543
1c360e0344
Fixed DSL test
2021-11-05 17:04:42 +05:30
Ice3man543
8ad3ebcd05
Made code changes as per review comments
2021-11-05 03:01:41 +05:30
Ice3man543
390ca8b3c6
Merge from dev
2021-11-03 18:58:00 +05:30
Alexey Zhuchkov
3a47413cd4
Add case-insensitive flag to matchers and extractors
2021-10-29 19:08:23 +03:00
Ice3man
f25c7c3a1d
Merge branch 'dev' into more-protocols
2021-10-20 21:29:28 +05:30
Sandeep Singh
904a833feb
Merge pull request #1132 from voidz0r/dev
2021-10-17 10:40:35 +05:30
voidz0r
fc905ccccc
Adding unixtime functionality with seconds offset
2021-10-17 01:02:37 +02:00
forgedhallpass
435ec5cd5d
Do not show AND matcher information in the command line output if debug is not enabled #1081
2021-10-12 20:06:55 +03:00
forgedhallpass
a86c843be5
[issue] Do not show all matcher names for OR conditions #1082
...
* removing the short circuit in case of matchers with OR operator, because it is intended in cases like technology detection templates etc.
2021-10-08 22:46:53 +03:00
forgedhallpass
61a8ba80b4
If debug is enabled, show matchers that are not named also #1084
...
* start the indexing of the matcher names from 1 instead of 0
2021-10-08 22:44:40 +03:00
forgedhallpass
85447ca49d
Fixes: Do not show all matcher names for OR conditions #1082
2021-10-05 22:04:09 +03:00
forgedhallpass
ed3b80b5d7
If debug is enabled, show matchers that are not named also #1084
2021-10-05 22:02:09 +03:00
forgedhallpass
404f8ebb27
Fixes:Binary matcher always returns true if the input cannot be decoded as hex #1085
...
* changed the Log to Warn instead of Error, so it wouldn't show up in the output without the verbose flag
2021-10-05 16:49:55 +03:00
forgedhallpass
4d34513881
Fix for Binary matcher always returns true if the input cannot be decoded as hex #1085
2021-10-05 16:44:18 +03:00
forgedhallpass
898c9431b5
[feature] Add coloring to debug information #999
...
* corrected/renamed receivers from one character names to human-readable format
2021-10-01 14:30:04 +03:00
forgedhallpass
a00083e221
[feature] Add coloring to debug information #999
...
* remove some of the code duplication with a different approach
2021-10-01 14:24:45 +03:00
forgedhallpass
dccd47ed19
[feature] Add coloring to debug information #999 [WIP]
...
Return the matched content in case of multiple regex/binary matchers (+test)
2021-09-30 20:36:39 +03:00
forgedhallpass
4be6b3cc96
[feature] Add coloring to debug information #999 [WIP]
...
TODO:
* if there are multiple matchers, make sure the response is only displayed once, with all the matching values colored
* remove code duplication from the request.go files
2021-09-29 19:43:46 +03:00
Ice3man543
0b11b80d8a
Fixed some bugs with ssl protocols + misc enhancements
2021-09-24 19:35:00 +05:30
Ice3man543
5c31b75ac7
Added ssl protocol to nuclei
2021-09-22 22:41:07 +05:30
sandeep
aff4197ea9
Merge branch 'dev' of https://github.com/projectdiscovery/nuclei into matchers-enhancement#555
2021-09-21 16:36:58 +05:30