aboutsummaryrefslogtreecommitdiffstats
path: root/nuclei/patches/Disable-update.patch
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-04-03 22:38:52 +0200
committerDanilo M. <danix@danix.xyz>2026-04-03 22:38:52 +0200
commitff22ff3ffa55cc607aacc1bf4fa026e651466c9a (patch)
tree6b0ebb98cf1bb666c2c7e513b43be481ce7c7b09 /nuclei/patches/Disable-update.patch
parentc393d0e98cd3fdf02305f7659afa1bb1e4a02a7e (diff)
downloadslackware-pentesting-suite-ff22ff3ffa55cc607aacc1bf4fa026e651466c9a.tar.gz
slackware-pentesting-suite-ff22ff3ffa55cc607aacc1bf4fa026e651466c9a.zip
moved all packages to the root of the repository
Diffstat (limited to 'nuclei/patches/Disable-update.patch')
-rw-r--r--nuclei/patches/Disable-update.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/nuclei/patches/Disable-update.patch b/nuclei/patches/Disable-update.patch
new file mode 100644
index 0000000..3472208
--- /dev/null
+++ b/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"),