owasp-noir / noir

Attack surface detector that identifies endpoints by static analysis
https://owasp.org/www-project-noir/
MIT License
595 stars 46 forks source link

Add progress for detect and analyze #329

Closed hahwul closed 3 months ago

hahwul commented 4 months ago

Resources

progress_bar = ACON::Helper::ProgressBar.new output, 50
progress_bar.start

50.times do
  progress_bar.advance
end

progress_bar.finish
indicator = ACON::Helper::ProgressIndicator.new output
indicator.start "Processing..."

50.times do
  indicator.advance
end

indicator.finish "Finished!"
hahwul commented 3 months ago
require "athena-console"

output = ACON::Output::IO.new STDERR
hahwul commented 3 months ago

After briefly testing the implementation, we found that none of the tasks take long enough to require a progress or indicator feature. In fact, adding such a feature might cause more inconvenience than benefit, so I have decided not to develop it.