Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fuzzing: Add Flags & SDK Options #4844

Closed
Tracked by #4795
tarunKoyalwar opened this issue Mar 7, 2024 · 0 comments · Fixed by #4477
Closed
Tracked by #4795

Fuzzing: Add Flags & SDK Options #4844

tarunKoyalwar opened this issue Mar 7, 2024 · 0 comments · Fixed by #4477
Assignees

Comments

@tarunKoyalwar
Copy link
Member

tarunKoyalwar commented Mar 7, 2024

Proposed Changes

  • Fuzzing templates will only be loaded when -fuzz flag is used or -im is not list ( implicit enabling of fuzz)
$ ./nuclei -h fuzz
Nuclei is a fast, template based vulnerability scanner focusing
on extensive configurability, massive extensibility and ease of use.

Usage:
  ./nuclei [flags]

Flags:
   -fuzz  enable and run fuzzing templates

New SDK Options

// WithAuthOptions allows setting a custom authprovider implementation
func WithAuthProvider(provider authprovider.AuthProvider) NucleiSDKOptions {
// LoadSecretsFromFile allows loading secrets from file
func LoadSecretsFromFile(files []string, prefetch bool) NucleiSDKOptions {
// EnableFuzzTemplates allows enabling template fuzzing
func EnableFuzzTemplates() NucleiSDKOptions {
// LoadTargetsWithHttpData loads targets that contain http data from file it currently supports
// multiple formats like burp xml,openapi,swagger,proxify json
// Note: this is mutually exclusive with LoadTargets and LoadTargetsFromReader
func (e *NucleiEngine) LoadTargetsWithHttpData(filePath string, filemode string) error {
@tarunKoyalwar tarunKoyalwar changed the title Misc Fuzzing chore (tests,-fuzz flag and more) Fuzzing: Add Flags & SDK Options Mar 7, 2024
@tarunKoyalwar tarunKoyalwar self-assigned this Mar 7, 2024
@tarunKoyalwar tarunKoyalwar linked a pull request Mar 7, 2024 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant