Skip to content

Commit f749565

Browse files
chris-rockczunker
andauthored
🧹 improve description for shodan and nmap provider (#5557)
Signed-off-by: Christian Zunker <christian@mondoo.com> Co-authored-by: Christian Zunker <christian@mondoo.com>
1 parent bad1c4b commit f749565

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

providers/nmap/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ var Config = plugin.Provider{
3333
Long: "networks",
3434
Type: plugin.FlagType_List,
3535
Default: "",
36-
Desc: "Only include repositories with matching names",
36+
Desc: "Only include matching networks",
3737
},
3838
},
3939
},

providers/shodan/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Examples:
4444
Long: "networks",
4545
Type: plugin.FlagType_List,
4646
Default: "",
47-
Desc: "Only include repositories with matching names",
47+
Desc: "Only include matching networks",
4848
},
4949
},
5050
},

providers/shodan/provider/provider.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ func (s *Service) ParseCLI(req *plugin.ParseCLIReq) (*plugin.ParseCLIRes, error)
7979
conf.Host = req.Args[1]
8080
conf.Options["search"] = "domain"
8181
default:
82-
return nil, errors.New("invalid Shodan sub-command, supported are: org, host, or domain")
82+
return nil, errors.New("invalid Shodan sub-command, supported are: host or domain")
8383
}
8484
} else {
8585
name = "Shodan"

0 commit comments

Comments
 (0)