From 1610d96bc238b505dd3b7369b702bcfdc51ad172 Mon Sep 17 00:00:00 2001 From: ghost Date: Thu, 19 Sep 2024 13:34:08 +0000 Subject: [PATCH] Auto Generate Syntax Docs + JSONSchema [Thu Sep 19 13:34:08 UTC 2024] :robot: --- SYNTAX-REFERENCE.md | 10 ++++++++++ nuclei-jsonschema.json | 5 +++++ pkg/templates/templates_doc.go | 5 +++++ 3 files changed, 20 insertions(+) diff --git a/SYNTAX-REFERENCE.md b/SYNTAX-REFERENCE.md index c757321494..9ec413d3ed 100755 --- a/SYNTAX-REFERENCE.md +++ b/SYNTAX-REFERENCE.md @@ -3664,8 +3664,18 @@ Enum Values: - files + - waitdom + + - waitfcp + + - waitfmp + + - waitidle + - waitload + - waitstable + - getresource - extract diff --git a/nuclei-jsonschema.json b/nuclei-jsonschema.json index 993a744502..b4ed1d2982 100644 --- a/nuclei-jsonschema.json +++ b/nuclei-jsonschema.json @@ -247,7 +247,12 @@ "time", "select", "files", + "waitdom", + "waitfcp", + "waitfmp", + "waitidle", "waitload", + "waitstable", "getresource", "extract", "setmethod", diff --git a/pkg/templates/templates_doc.go b/pkg/templates/templates_doc.go index b484dad565..827e583d3b 100644 --- a/pkg/templates/templates_doc.go +++ b/pkg/templates/templates_doc.go @@ -1603,7 +1603,12 @@ func init() { "time", "select", "files", + "waitdom", + "waitfcp", + "waitfmp", + "waitidle", "waitload", + "waitstable", "getresource", "extract", "setmethod",