maurosoria / dirsearch

Web path scanner
11.93k stars 2.31k forks source link

Output multiple reports #1286

Open p3stR opened 1 year ago

p3stR commented 1 year ago

What is the feature?

Output the scan results in multiple report types at the same scan not by executing the scan multiple times and change the report type.

What is the use case?

Have the results on different formats

nrathaus commented 5 months ago

To support this feature we would need to fix:

  1. option output (under setup_reports(self))
  2. option output_format (under setup_reports(self)) -> which updates self.report

I think best option is to create a dict named output_medium with two variables output and output_format

Make the incoming output and output_format values comma separated and broken down and parsed - then saved into this new self.reports which will be now used instead of self.report and it will handle in a foreach loop whenever code refers to self.report