-
Notifications
You must be signed in to change notification settings - Fork 620
Open
Labels
Type: BugInconsistencies or issues which will cause an issue or problem for users or implementors.Inconsistencies or issues which will cause an issue or problem for users or implementors.
Description
Naabu version:
v2.3.4 SDK
Current Behavior:
When using the sdk i can't choose to not print results to stdout.
I have also tried to change logging levels with gologger with no luck.
Expected Behavior:
I don't want the results to be printed to stdout, i want to print the results my self if needed to be printed.
Steps To Reproduce:
options := runner.Options{
Host: string[]{"netflix.com"},
ScanType: "s",
OnResult: func(hr *result.HostResult) {
out <- hr
},
Ports: "80,443",
Verbose: false,
Rate: 500,
Retries: 3,
WarmUpTime: 2,
Timeout: 2 * time.Second,
Threads: 25,
DisableStdin: true,
Debug: false,
Silent: true,
Stream: true,
}
naabuRunner, err := runner.NewRunner(&options)
if err != nil {
log.Fatalf("Could not create a new naabu runner err: %v", err)
}
defer naabuRunner.Close()
if err := naabuRunner.RunEnumeration(r.ctx); err != nil {
log.Fatalf("Could not run naabu enumeration, err: %v", err)
}
adamyordan
Metadata
Metadata
Assignees
Labels
Type: BugInconsistencies or issues which will cause an issue or problem for users or implementors.Inconsistencies or issues which will cause an issue or problem for users or implementors.