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/Change-default-directory-of-nuclei-templates.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/Change-default-directory-of-nuclei-templates.patch')
| -rw-r--r-- | nuclei/patches/Change-default-directory-of-nuclei-templates.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/nuclei/patches/Change-default-directory-of-nuclei-templates.patch b/nuclei/patches/Change-default-directory-of-nuclei-templates.patch new file mode 100644 index 0000000..447f42d --- /dev/null +++ b/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 |
