f0cker / crackq

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

'notify' error #11

Closed jllang763 closed 4 years ago

jllang763 commented 4 years ago

After completed a crack job it was placed in "Failed Jobs" with the message of notify image

f0cker commented 4 years ago

I've fixed this one, I introduced it when adding email notifications. I can't push my updates for a while though as I'm working on adding an admin interface. Should be done by next week.

jllang763 commented 4 years ago

Even if I had email notifications disabled?

f0cker commented 4 years ago

Yeah I think so. Do you have the settings in your config file for notifications? Can you post the debug output and I'll double check.

jllang763 commented 4 years ago

At the time I did not. Currently, debug is turned off and it is in the middle of a crack job.

f0cker commented 4 years ago

OK, I suspect it's looking for the 'notify' section in the config file.

jllang763 commented 4 years ago

Ok, I added it before the current run. Let's see what happens.

On Tue, Jun 16, 2020 at 1:37 PM f0cker notifications@github.com wrote:

OK, I suspect it's looking for the 'notify' section in the config file.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/f0cker/crackq/issues/11#issuecomment-644942835, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMMEFZSA6NAVT6F2SM42QR3RW63XBANCNFSM4N7UAZDQ .

jllang763 commented 4 years ago

It still failed but this time it had an issue with TLS not being support even when I have that disabled

f0cker commented 4 years ago

Can you paste the 'tls' line from the 'notify' section in the config file and also the error and any relevant debug log please? Haven't seen this one before. thanks

jllang763 commented 4 years ago

[notify]

Settings for sending out notifications on job status

mail_server: {SMTP-Server} mail_port: 25 src: {From-Address}

Time since last user activity to start sending event notifications (email/sms etc.) in minutes

inactive_time: 20 tls: False

f0cker commented 4 years ago

That looks OK. what was the TLS error message you were getting?

jllang763 commented 4 years ago

I can't find it now but it was trying to use TLS but the server did not support it.

f0cker commented 4 years ago

Ah that's a shame I wanted to catch that one as well, it might be a tls/ssl protocol mismatch perhaps. I'll be pushing the updates for the original issue very soon anyway (today/tomorrow). The branch will have an initial version of the admin interface, which I could use some help testing if you want to give it a try.

f0cker commented 4 years ago

closing this, let me know if the issue persists in the new branch https://github.com/f0cker/crackq/tree/add_inapp_auth_admin