x0rz / phishing_catcher

Phishing catcher using Certstream
https://blog.0day.rocks/catching-phishing-using-certstream-97177f0d499a
GNU General Public License v3.0
1.69k stars 349 forks source link

disconnecting - reconnecting #77

Open user1829356 opened 7 months ago

user1829356 commented 7 months ago

Hey! Could someone help me with that the phishing_catcher is disconnecting and reconnecting in every minutes?

certificate_update: 386526cert [42:33, 119.09cert/s][ERROR:root] 2024-01-28 09:55:53,383 - Error connecting to CertStream - Connection is already closed. - Sleeping for a few seconds and trying again... [INFO:root] 2024-01-28 09:55:58,669 - Connection established to CertStream! Listening for events... certificate_update: 395220cert [43:19, 238.83cert/s][ERROR:root] 2024-01-28 09:56:38,713 - Error connecting to CertStream - Connection is already closed. - Sleeping for a few seconds and trying again... [INFO:root] 2024-01-28 09:56:44,068 - Connection established to CertStream! Listening for events... certificate_update: 404788cert [44:33, 205.77cert/s][ERROR:root] 2024-01-28 09:57:53,020 - Error connecting to CertStream - Connection is already closed. - Sleeping for a few seconds and trying again... [INFO:root] 2024-01-28 09:57:58,294 - Connection established to CertStream! Listening for events... certificate_update: 418396cert [45:52, 186.19cert/s][ERROR:root] 2024-01-28 09:59:12,524 - Error connecting to CertStream - Connection is already closed. - Sleeping for a few seconds and trying again... [INFO:root] 2024-01-28 09:59:17,842 - Connection established to CertStream! Listening for events...

I have updated the certstream module with pip, but I have the same issue, but less output of it:

certificate_update: 16887cert [01:23, 143.12cert/s]Error connecting to CertStream - Connection to remote host was lost. - Sleeping for a few seconds and trying again... certificate_update: 26518cert [02:27, 107.49cert/s]Error connecting to CertStream - Connection to remote host was lost. - Sleeping for a few seconds and trying again... certificate_update: 38765cert [03:35, 203.87cert/s]Error connecting to CertStream - Connection to remote host was lost. - Sleeping for a few seconds and trying again... certificate_update: 51049cert [04:44, 145.87cert/s]Error connecting to CertStream - Connection to remote host was lost. - Sleeping for a few seconds and trying again... certificate_update: 58365cert [05:34, 198.15cert/s]Error connecting to CertStream - Connection to remote host was lost. - Sleeping for a few seconds and trying again...

Also, downgrading the websocket-client is not a solution anymore as i get this error:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. certstream 1.12 requires websocket-client>=0.58.0, but you have websocket-client 0.52.0 which is incompatible.

Is this intended behaviour?

Thank you in advance!

finchy commented 6 months ago

Pretty sure the certstream server died.