f0cker / crackq

CrackQ: A Python Hashcat cracking queue system
MIT License
923 stars 100 forks source link

"Error generating report: undefined" #5

Closed TheTechromancer closed 4 years ago

TheTechromancer commented 4 years ago

I'm getting an error when attempting to generate a report from a completed job. Below is a screenshot as well as /var/crackq/logs/crackq.log at the time of the error.

image

Everything else works great - hashes crack properly, etc.

Thanks!

f0cker commented 4 years ago

Can you enable dev tools in the browser and check what response is coming from the API in the network tab? It might not be displaying the error properly in the GUI. There's a minimum requirement of 100 cracked passwords for report generation, how many are cracked in that job?

TheTechromancer commented 4 years ago

Ah okay, that turned out to be it. There were less than 100 cracked for that job. What are your thoughts on displaying a warning message but still allowing the report to be generated?

image

f0cker commented 4 years ago

OK I can add it as an option in the conf file. For now though, you just need to edit this line: https://github.com/f0cker/crackq/blob/0c875c0a10a334280c9e8a25649a33ccf813fa25/crackq/cq_api.py#L1415

I'll add it to the roadmap and close off this issue.