ffuff/pkg/output
Dave Walker 88720dfdc9
Support outputting all file formats concurrently (#218)
* Support outputting all file formats concurrently

Previously ffuf would allow outputting to a single
file-format, ie Markdown (md), json or HTML.  It was not
possible to output in multiple formats in the same
execution.

This change allows specifying an output (-of) of "all",
which means that the output filename (-o) is used, but the
appropriate suffix is added.

As an example,
... -of all -o output/report

Will output:
 - output/report.json
 - output/report.html
 - output/report.csv
 - ... etc

Fixes ffuf/ffuf#215

Signed-off-by: Dave Walker (Daviey) <email@daviey.com>

* Updated Changelog and added myself to CONTRIBUTORS

Signed-off-by: Dave Walker (Daviey) <email@daviey.com>

* Fix file extension for 'ecsv' when 'all' is used

.. And fix CONTRIBUTORS.md to be alphabetical

Signed-off-by: Dave Walker (Daviey) <email@daviey.com>
2020-04-19 12:11:15 +03:00
..
const_windows.go Colors 2018-11-09 15:21:23 +02:00
const.go Colors 2018-11-09 15:21:23 +02:00
file_csv.go Write requests and responses to filesystem if requested (#126) 2019-12-28 17:46:44 +02:00
file_html.go Increase default rows per page on html report (#217) 2020-04-19 12:04:33 +03:00
file_json.go Write configuration to output JSON (#135) 2020-01-07 18:27:43 +02:00
file_md.go Write requests and responses to filesystem if requested (#126) 2019-12-28 17:46:44 +02:00
output.go Initial commit, v0.1 2018-11-08 11:26:32 +02:00
stdout.go Support outputting all file formats concurrently (#218) 2020-04-19 12:11:15 +03:00