subfinder: remove update check

This commit is contained in:
Anton Bolshakov 2025-10-19 09:06:36 +08:00
parent 6ab9c22d12
commit 2293d93588
No known key found for this signature in database
GPG key ID: 32BDCED870788F04

View file

@ -12,3 +12,34 @@
flagSet.CreateGroup("output", "Output", flagSet.CreateGroup("output", "Output",
flagSet.StringVarP(&options.OutputFile, "output", "o", "", "file to write output to"), flagSet.StringVarP(&options.OutputFile, "output", "o", "", "file to write output to"),
flagSet.BoolVarP(&options.JSON, "json", "oJ", false, "write output in JSONL(ines) format"), flagSet.BoolVarP(&options.JSON, "json", "oJ", false, "write output in JSONL(ines) format"),
@@ -176,17 +176,6 @@
options.ConfigureOutput()
showBanner()
- if !options.DisableUpdateCheck {
- latestVersion, err := updateutils.GetToolVersionCallback("subfinder", version)()
- if err != nil {
- if options.Verbose {
- gologger.Error().Msgf("subfinder version check failed: %v", err.Error())
- }
- } else {
- gologger.Info().Msgf("Current subfinder version %v %v", version, updateutils.GetVersionDescription(version, latestVersion))
- }
- }
-
if options.ListSources {
listSources(options)
os.Exit(0)
--- subfinder-2.9.0/README.md.orig 2025-09-26 18:19:29.000000000 +0800
+++ subfinder-2.9.0/README.md 2025-10-19 08:59:35.724823772 +0800
@@ -77,10 +77,6 @@
-rls value maximum number of http requests to send per second for providers in key=value format (-rls "hackertarget=10/s,shodan=15/s")
-t int number of concurrent goroutines for resolving (-active only) (default 10)
-UPDATE:
- -up, -update update subfinder to latest version
- -duc, -disable-update-check disable automatic subfinder update check
-
OUTPUT:
-o, -output string file to write output to
-oJ, -json write output in JSONL(ines) format