diff options
| author | danix <danix@danix.xyz> | 2026-03-13 19:10:58 +0100 |
|---|---|---|
| committer | danix <danix@danix.xyz> | 2026-03-13 19:10:58 +0100 |
| commit | 6f9c5a1cded3baa3a70a4a5156b9748444ebdeba (patch) | |
| tree | 402e6023a642cde3e7ae291f74bed1ea3c606487 /SlackBuilds/nuclei/patches/Change-default-directory-of-nuclei-templates.patch | |
| parent | 733c8db232b04f5d251aff456bdf866f6ebc5132 (diff) | |
| download | slackware-pentesting-suite-6f9c5a1cded3baa3a70a4a5156b9748444ebdeba.tar.gz slackware-pentesting-suite-6f9c5a1cded3baa3a70a4a5156b9748444ebdeba.zip | |
Added nuclei.
Diffstat (limited to 'SlackBuilds/nuclei/patches/Change-default-directory-of-nuclei-templates.patch')
| -rw-r--r-- | SlackBuilds/nuclei/patches/Change-default-directory-of-nuclei-templates.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/SlackBuilds/nuclei/patches/Change-default-directory-of-nuclei-templates.patch b/SlackBuilds/nuclei/patches/Change-default-directory-of-nuclei-templates.patch new file mode 100644 index 0000000..447f42d --- /dev/null +++ b/SlackBuilds/nuclei/patches/Change-default-directory-of-nuclei-templates.patch @@ -0,0 +1,25 @@ +From: Sophie Brun <sophie@offensive-security.com> +Date: Thu, 20 Apr 2023 14:51:31 +0200 +Subject: Fix path to nuclei-templates + +By default the nuclei-templates is located directly in /home/user. +Change the default location to /home/user/.local + +Last-Update: 2023-06-27 +--- + pkg/catalog/config/constants.go | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pkg/catalog/config/constants.go b/pkg/catalog/config/constants.go +index fab1884..6d78e7f 100644 +--- a/pkg/catalog/config/constants.go ++++ b/pkg/catalog/config/constants.go +@@ -22,7 +22,7 @@ var ( + + const ( + TemplateConfigFileName = ".templates-config.json" +- NucleiTemplatesDirName = "nuclei-templates" ++ NucleiTemplatesDirName = ".local/nuclei-templates" + OfficialNucleiTemplatesRepoName = "nuclei-templates" + NucleiIgnoreFileName = ".nuclei-ignore" + NucleiTemplatesIndexFileName = ".templates-index" // contains index of official nuclei templates |
