Skip to content

Commit

Permalink
run only dns templates for test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ice3man543 committed May 16, 2024
1 parent 1b54f71 commit 2eeb489
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/tests/sdk_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ func TestSimpleNuclei(t *testing.T) {
goleak.VerifyNone(t, knownLeaks...)
}()
ne, err := nuclei.NewNucleiEngine(
nuclei.WithTemplateFilters(nuclei.TemplateFilters{ProtocolTypes: "dns"}), // filter dns templates
nuclei.EnableStatsWithOpts(nuclei.StatsOptions{JSON: true}),
)
require.Nil(t, err)
Expand Down

0 comments on commit 2eeb489

Please sign in to comment.