75 Commits

Author SHA1 Message Date
Mzack9999
0d2d510689
Adding support for constants (#3692)
* adding support for constants

* fixing typo

* adding integration test

* fixing lint issues

* fixing template syntax
2023-05-25 22:02:35 +05:30
Tarun Koyalwar
37aaa5ebaa
add support for resolving old template paths (#3635)
* add support for resolving old template paths

* skip resolving if new path is specified

* add debug statement

* show error if fallback failed

* remove debug statement

* remove fallback errors

* print warning for deprecated paths

* add warnings for  deprecated paths/protocol names

* misc update

---------

Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
2023-05-04 01:43:41 +05:30
Shubham Rasal
a0ccc839bb
Issue 3055 protocol name (#3425)
* Add http and tcp variables support in templates

* Update protocol name from networks to tcp

* Check template to use only one variable(either old or new ones)

- you can use http or requests | network or tcp
- add template doc example

* remove debug statement

* Add comment on new variables,

- New variables are not used in lib code

---------

Co-authored-by: Tarun Koyalwar <tarun@projectdiscovery.io>
2023-03-21 00:48:35 +05:30
Mzack9999
c182434130
json templates support (load with flags, run & validate ) (#3424)
* extending template identification logic

* removing test code

* local debug

* json template loading support using flags

* blacklist meta json files

* minor changes

---------

Co-authored-by: Tarun Koyalwar <tarun@projectdiscovery.io>
2023-03-16 13:33:59 +05:30
Mzack9999
d80cbef51d
Merge pull request #3333 from CodFrm/main
fix some json deserialization issues
2023-02-28 09:02:04 +01:00
Mzack9999
62af038617
Add template sign/verify functionality (#3029)
* add template sign/verify functionality

* fixing syntax
2023-02-26 03:54:46 +05:30
王一之
85090b7531 fix some json deserialization issues 2023-02-17 14:21:25 +08:00
Ice3man
a0ece302d1 Moved variables to template level + misc 2022-03-31 00:54:35 +05:30
mzack
11df6da209 Excluding non yaml file from new additions loading 2022-01-14 11:20:19 +01:00
Sandeep Singh
2dc877a99f
Merge pull request #1247 from projectdiscovery/research-aws-signing
Adding support for aws request signing
2021-12-20 01:06:13 +05:30
Sajad
5200bcd94f
Whois Protocol Support (using rdap) (#1354)
* init rdap

* add an integration test, option to supply RDAP server to execute the request on

* add rdap protocolMappings

* add debug info, add IP, ASN query type support

* rename rdap to whois, Host to Query in template

* rename pending rdap to whois

* remove port from whois varaiables

* set Host variable even if input is not a parsable url
2021-12-16 17:08:02 +05:30
Mzack9999
1fbbce4e41
Adding support for implicit validation during marshal/unmarshal (#1329) 2021-12-16 15:39:38 +05:30
mzack
c47196bcc8 Merge branch 'dev' into research-aws-signing 2021-12-06 08:17:03 +01:00
Sajad Parra
f60e93aae1 add template level stop at first match option 2021-11-29 16:01:06 +05:30
mzack
a631262d91 Merge branch 'dev' into research-aws-signing 2021-11-29 09:36:12 +01:00
forgedhallpass
c8d009654c fix: Receiver mismatch warnings 2021-11-25 16:57:43 +02:00
mzack
38ff8f75b1 adding signature syntax validation 2021-11-17 01:28:35 +01:00
sandeep
f73b20e415 Merge branch 'dev' of https://github.com/projectdiscovery/nuclei into research-aws-signing 2021-11-17 02:02:07 +05:30
Ice3man543
cc33366acb fixed a conditon with workflow type switch 2021-11-14 15:30:28 +05:30
mzack
eb61c519c3 converting to post-processor prototype 2021-11-13 03:17:05 +01:00
mzack
882a156b63 Merge branch 'dev' into research-aws-signing 2021-11-12 19:55:35 +01:00
mzack
041361c45e Adding aws sign prototype 2021-11-12 19:29:45 +01:00
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
Ice3man543
47949c0b52 Use separate type enum for protocol types 2021-11-03 17:18:35 +05:30
Ice3man543
cf7628c450 Misc changes according to review 2021-11-03 02:34:48 +05:30
Ice3man543
bb05be7b95 Added integration tests for websocket + misc fixes 2021-11-01 15:47:20 +05:30
Ice3man543
a10b79d7a8 merge from engine-refactor and dev 2021-10-29 18:26:06 +05:30
Ice3man543
15d467f9ff Merge branch 'dev' of https://github.com/projectdiscovery/nuclei into more-protocols 2021-10-29 17:54:02 +05:30
Ice3man543
97645dde52 Added new workpool package + Misc refactor 2021-10-27 15:53:04 +05:30
Ice3man543
6541b04f4c Added new type and exclude-type flag 2021-10-25 23:24:42 +05:30
Ice3man
1deedf5463
Merge pull request #1151 from zerodivisi0n/feature/template-id
Add regexp pattern for template-id
2021-10-25 17:38:00 +05:30
Alexey Zhuchkov
f1cd0a5d28 Update template id regexp 2021-10-20 23:07:24 +03:00
Ice3man
f25c7c3a1d
Merge branch 'dev' into more-protocols 2021-10-20 21:29:28 +05:30
Alexey Zhuchkov
a1e099493d Use simpler regexp for template id validation 2021-10-20 00:43:33 +03:00
Ice3man543
5383040a83 Misc 2021-10-19 22:28:48 +05:30
Ice3man543
612ab61df4 Reworked self-contained requests to template 2021-10-19 21:29:18 +05:30
Alexey Zhuchkov
5584fc285d Add regexp pattern for template-id 2021-10-19 00:58:49 +03:00
Ice3man543
396f17484e Added websocket protocol support to nuclei 2021-09-27 18:02:49 +05:30
Ice3man543
5c31b75ac7 Added ssl protocol to nuclei 2021-09-22 22:41:07 +05:30
sandeep
d7f8ad8a62 final changes 2021-09-01 15:53:30 +05:30
sandeep
f3ed61b4c7 misc update 2021-09-01 15:48:01 +05:30
Ice3man543
20aa291709 Fixed typo in template 2021-08-24 20:02:55 +05:30
Ice3man543
6a673053c2 Added jsonschema generation for yaml syntax 2021-08-23 23:50:45 +05:30
Ice3man543
4cc770f102 Merged dev 2021-08-19 16:51:02 +05:30
Ice3man543
01dcb01867 Added more docs examples + Misc 2021-08-04 14:20:48 +05:30
Ice3man543
334243d160 Adding documentation generation to nuclei 2021-08-03 22:33:50 +05:30
Ice3man543
c9ad9cdff4 Updated examples 2021-08-03 20:40:00 +05:30
Ice3man543
8130a76ff1 Misc 2021-08-03 20:36:56 +05:30
Ice3man543
2d0c711638 Fixed lint errors 2021-08-03 20:36:26 +05:30