Closed ca5ua1 closed 7 months ago
Thanks for opening the issue @ca5ua1 - It should be fixed with https://github.com/projectdiscovery/naabu/pull/946 (currently the output configuration happens only when the runner is instantiated by CLI, I moved it within the runner itself, so it should cover also the sdk case)
Hi, I try to use Naabu as a library and the problem I have is that Naabu generate on its own terminal output what I don't want without verbose flag.
Naabu version: v2.2.1
Current Behavior:
When running scan with Naabu library it writes following lines in stdout:
Even with silent flag set to true
When running Naabu itself with
-silent
flag the output is:Expected Behavior:
No output at all with silent flag. Maybe new
-silent-full
flag or levels to silent flagIdeally would be amazing to also have control over
[INF] Running ...
to pass it to log file for example (in context of library usage)Steps To Reproduce:
Add
Silent: true,
option to example so it would look like that:Btw, maybe naabu library need some documentation? As already stated in https://github.com/projectdiscovery/naabu/issues/432