OnResult not be invoked when threshold reached #1044
Labels
Status: Completed
Nothing further to be done with this issue. Awaiting to be closed.
Type: Bug
Inconsistencies or issues which will cause an issue or problem for users or implementors.
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:
v2/cmd/naabu/main.go
:run with flag
![image](https://private-user-images.githubusercontent.com/42031559/325949112-aba76376-e5fd-4671-ba43-2e886f10980d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA1NzU3NDYsIm5iZiI6MTcyMDU3NTQ0NiwicGF0aCI6Ii80MjAzMTU1OS8zMjU5NDkxMTItYWJhNzYzNzYtZTVmZC00NjcxLWJhNDMtMmU4ODZmMTA5ODBkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzEwVDAxMzcyNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTkzNDQzNDY2NTBmZTExMjY5NDY5OWM1ZDgwNThiMWJkOTZjYTkyNmZhZGZjNDQ1NGIyYmIxMTBlZjJmMWZjYzQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.p2SOU-SPV5i07k9xCp-28C1JqDxcDIYMtx6gmrO6cVc)
-host 183.2.172.185 -pts 2
Threshold reached but OnResult not be invoked
Anything else:
The text was updated successfully, but these errors were encountered: