-
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
Error generating report: FATA could not connect to database err="constraint failed: FOREIGN KEY constraint failed (787)" #239
Comments
Sorry haven't looked at this one yet, but will get to it soonest. Thanks for reporting. |
I think this is fixed now because of #240.
The
To test since c7eace5, I've run with the following invocation:
Generating the report seems to work okay.
|
Describe the bug
Here is how I ran gowitness initially:
gowitness scan file -f urls.txt --chrome-path /snap/bin/chromium --threads 2 --write-db --write-jsonl --write-jsonl-file gowitness_results.json --delay 5 -P screenshots_path
When attempting to generate the report I tried two different ways:
First attempt: with JSONL file
gowitness report generate --json-file gowitness_results.json --zip-name gowitness_report_zip.zip --screenshot-path screenshots_path
After running here is the output:
With the way the flag is defined (
--json-file string The location of a JSON Lines results file (e.g., ./gowitness.jsonl). This flag takes precedence over --db-uri
) it makes it seems the DB is not needed but that doesn't seem to be the case.Second Attempt with DB
gowitness report generate --db-uri gowitness.sqlite3 --zip-name gowitness_report_zip.zip --screenshot-path screenshots_path
I did also check the DB and the TLS table is populated with results, although I am not sure why it is attempting to be dropped.
Version Information:
The text was updated successfully, but these errors were encountered: