Skip to content

OnResult not be invoked when threshold reached #1044

@runt0

Description

@runt0

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:

  1. add demo result fun in v2/cmd/naabu/main.go
options.Stdin = false
	options.OnResult = func(result *result.HostResult) {
		gologger.Info().Msg("Hello")
	}
  1. run with flag -host 183.2.172.185 -pts 2
    image

  2. Threshold reached but OnResult not be invoked

Anything else:

Metadata

Metadata

Assignees

Labels

Status: CompletedNothing 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.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions