diff options
| author | Danilo M. <danix@danix.xyz> | 2026-04-03 22:38:52 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-04-03 22:38:52 +0200 |
| commit | ff22ff3ffa55cc607aacc1bf4fa026e651466c9a (patch) | |
| tree | 6b0ebb98cf1bb666c2c7e513b43be481ce7c7b09 /nuclei/patches/Build-doc.patch | |
| parent | c393d0e98cd3fdf02305f7659afa1bb1e4a02a7e (diff) | |
| download | slackware-pentesting-suite-ff22ff3ffa55cc607aacc1bf4fa026e651466c9a.tar.gz slackware-pentesting-suite-ff22ff3ffa55cc607aacc1bf4fa026e651466c9a.zip | |
moved all packages to the root of the repository
Diffstat (limited to 'nuclei/patches/Build-doc.patch')
| -rw-r--r-- | nuclei/patches/Build-doc.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/nuclei/patches/Build-doc.patch b/nuclei/patches/Build-doc.patch new file mode 100644 index 0000000..17f054e --- /dev/null +++ b/nuclei/patches/Build-doc.patch @@ -0,0 +1,31 @@ +From: Sophie Brun <sophie@offensive-security.com> +Date: Fri, 10 Dec 2021 09:08:38 +0100 +Subject: Build doc + +--- + Makefile | 7 ++----- + 1 file changed, 2 insertions(+), 5 deletions(-) + +diff --git a/Makefile b/Makefile +index 719c308..ca2e684 100644 +--- a/Makefile ++++ b/Makefile +@@ -59,10 +59,7 @@ docgen: GOBUILD_OUTPUT = ./bin/docgen + docgen: GOBUILD_PACKAGES = cmd/docgen/docgen.go + docgen: bin = dstdocgen + docgen: +- @if ! which $(bin) >/dev/null; then \ +- echo "Command $(bin) not found! Installing..."; \ +- go install -v github.com/projectdiscovery/yamldoc-go/cmd/docgen/$(bin)@latest; \ +- fi ++ go install -v github.com/projectdiscovery/yamldoc-go/cmd/docgen/$(bin)@latest; \ + # TODO: FIX THIS PANIC + $(GOCMD) generate pkg/templates/templates.go + $(GOBUILD) -o "${GOBUILD_OUTPUT}" $(GOBUILD_PACKAGES) +@@ -156,4 +153,4 @@ template-validate: + ./bin/nuclei -validate \ + -w workflows \ + -et http/technologies \ +- -ept code +\ No newline at end of file ++ -ept code |
