Skip to content

Commit

Permalink
change to exclude shodan init command from needsauth targets
Browse files Browse the repository at this point in the history
  • Loading branch information
kusshi94 committed Mar 23, 2024
1 parent c6e781b commit 6abf2e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/shodan/shodan.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ func ShodanCLI() schema.Executable {
NeedsAuth: needsauth.IfAll(
needsauth.NotForHelpOrVersion(),
needsauth.NotWithoutArgs(),
needsauth.NotForExactArgs("init"),
),
Uses: []schema.CredentialUsage{
{
Expand Down

0 comments on commit 6abf2e2

Please sign in to comment.