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/Disable-update.patch | |
| parent | 733c8db232b04f5d251aff456bdf866f6ebc5132 (diff) | |
| download | slackware-pentesting-suite-6f9c5a1cded3baa3a70a4a5156b9748444ebdeba.tar.gz slackware-pentesting-suite-6f9c5a1cded3baa3a70a4a5156b9748444ebdeba.zip | |
Added nuclei.
Diffstat (limited to 'SlackBuilds/nuclei/patches/Disable-update.patch')
| -rw-r--r-- | SlackBuilds/nuclei/patches/Disable-update.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/SlackBuilds/nuclei/patches/Disable-update.patch b/SlackBuilds/nuclei/patches/Disable-update.patch new file mode 100644 index 0000000..3472208 --- /dev/null +++ b/SlackBuilds/nuclei/patches/Disable-update.patch @@ -0,0 +1,22 @@ +From: Sophie Brun <sophie@offensive-security.com> +Date: Wed, 8 Dec 2021 08:40:42 +0100 +Subject: Disable update + +Last-Update: 2023-10-27 +Updates must be done with apt. +--- + cmd/nuclei/main.go | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/cmd/nuclei/main.go b/cmd/nuclei/main.go +index 8421d1d..095f5d5 100644 +--- a/cmd/nuclei/main.go ++++ b/cmd/nuclei/main.go +@@ -469,7 +469,6 @@ on extensive configurability, massive extensibility and ease of use.`) + ) + + flagSet.CreateGroup("update", "Update", +- flagSet.BoolVarP(&updateNucleiBinary, "update", "up", false, "update nuclei engine to the latest released version"), + flagSet.BoolVarP(&options.UpdateTemplates, "update-templates", "ut", false, "update nuclei-templates to latest released version"), + flagSet.StringVarP(&options.NewTemplatesDirectory, "update-template-dir", "ud", "", "custom directory to install / update nuclei-templates"), + flagSet.CallbackVarP(disableUpdatesCallback, "disable-update-check", "duc", "disable automatic nuclei/templates update check"), |
