Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

report generation doesnt permit specifying destination dir/name #39

Closed
Viss opened this issue Mar 17, 2020 · 2 comments
Closed

report generation doesnt permit specifying destination dir/name #39

Viss opened this issue Mar 17, 2020 · 2 comments

Comments

@Viss
Copy link

Viss commented Mar 17, 2020

./gowitness report generate -D test.db -d /tmp/test/asdfasdf/

will generate an html report and put it in the current working directory, and not place the report in the designated dir based on the cmdline. this is problematic for automation when screenshotting multiple domains using a wrapper script. Also it appears you cant give the report a name other than 'report-0.html', which is also problematic if you're screenshotting several dozen or several hundred domains and each domain needs to have its own report.

@skluthe
Copy link

skluthe commented Apr 19, 2020

You want to use -f to specify the file to output.

leonjza added a commit that referenced this issue Aug 13, 2020
By setting a chunk size of 0, all entries will be in one report.

Part of #39
@leonjza
Copy link
Member

leonjza commented Aug 13, 2020

I just added logic to effectively disable chunking should one want a single report. Just set -c 0. With -n you can control the file name.

@leonjza leonjza closed this as completed Aug 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants