-
Notifications
You must be signed in to change notification settings - Fork 348
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 from jsonlines broken #240
Comments
Report generation from a sqlite3 file is broken as well. (I realized this after I wrote the use cases below) it looks like the report generation functionality does not even attempt to open a database in the first place:
Typical use cases would be: generating a report from a Case 1: generate a report from
Case 2: generate a report from an arbitrarily named sqlite3 database in the current directory ( I will simply rename
Last, but not least, the
There are also a couple of use cases where gowitness will complain about out of memory errors when it cannot find and open a sqlite3 database file, or write one (e.g. when the destination directory does not exist). |
Spotted the issue. Will fix this in the morning. |
Hi,
I was experimenting with gowitness just today and it looks like the
--db-uri
and--json-file
are ignored altogether when generating reports.For instance, this is what happens when I save data in a jsonl file and then I try to generate a report. Similarly, saving a sqlite3 db with a regular or custom name would work, but loading said DB from a directory other than the current one would fail when generating a report.
Note the empty
gowitness.sqlite3
that gets created aftergowitness report generate
.As a workaround, I let gowitness write its default db file within the current directory, then generate a report based on that.
Originally posted by @boozezela in #237 (comment)
The text was updated successfully, but these errors were encountered: