mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
53 lines
2.2 KiB
Diff
53 lines
2.2 KiB
Diff
--- subfinder-2.9.0/pkg/runner/options.go.orig 2025-09-26 18:19:29.000000000 +0800
|
|
+++ subfinder-2.9.0/pkg/runner/options.go 2025-10-19 08:48:25.818821811 +0800
|
|
@@ -19,7 +19,6 @@
|
|
fileutil "github.com/projectdiscovery/utils/file"
|
|
folderutil "github.com/projectdiscovery/utils/folder"
|
|
logutil "github.com/projectdiscovery/utils/log"
|
|
- updateutils "github.com/projectdiscovery/utils/update"
|
|
)
|
|
|
|
var (
|
|
@@ -106,11 +106,6 @@
|
|
flagSet.IntVar(&options.Threads, "t", 10, "number of concurrent goroutines for resolving (-active only)"),
|
|
)
|
|
|
|
- flagSet.CreateGroup("update", "Update",
|
|
- flagSet.CallbackVarP(GetUpdateCallback(), "update", "up", "update subfinder to latest version"),
|
|
- flagSet.BoolVarP(&options.DisableUpdateCheck, "disable-update-check", "duc", false, "disable automatic subfinder update check"),
|
|
- )
|
|
-
|
|
flagSet.CreateGroup("output", "Output",
|
|
flagSet.StringVarP(&options.OutputFile, "output", "o", "", "file to write output to"),
|
|
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
|