-
Notifications
You must be signed in to change notification settings - Fork 668
OnResult not be invoked when threshold reached #1044
Copy link
Copy link
Closed
Labels
Status: CompletedNothing further to be done with this issue. Awaiting to be closed.Nothing further to be done with this issue. Awaiting to be closed.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.0
Current Behavior:
OnResult not be invoked when threshold reached
Expected Behavior:
onresult can be invoked when threshold reached or provide options to choose wheather the onresult fun should be invoked when the ports threshold reached
Steps To Reproduce:
- add demo result fun in
v2/cmd/naabu/main.go:
options.Stdin = false
options.OnResult = func(result *result.HostResult) {
gologger.Info().Msg("Hello")
}
Anything else:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Status: CompletedNothing further to be done with this issue. Awaiting to be closed.Nothing further to be done with this issue. Awaiting to be closed.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.
