Skip to content

Commit 877a051

Browse files
committed
Update certstream
1 parent 782f7bd commit 877a051

File tree

7 files changed

+378
-352
lines changed

7 files changed

+378
-352
lines changed

.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,3 +104,4 @@ CERT_STREAM_URL=ws://certstream:8080/
104104
# If you have a proxy, please fill these variables
105105
HTTP_PROXY=
106106
HTTPS_PROXY=
107+
NO_PROXY=localhost,127.0.0.1,10.10.10.0/24,searx,db_watcher,watcher

Watcher/Watcher/dns_finder/certstream_client.py

Lines changed: 0 additions & 271 deletions
This file was deleted.

Watcher/Watcher/dns_finder/core.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import tzlocal
1111
from .models import Alert, DnsMonitored, DnsTwisted, Subscriber, KeywordMonitored
1212
from common.models import LegitimateDomain
13-
from .certstream_client import listen_for_events
13+
from .ct_monitor import listen_for_events
1414
from common.core import send_app_specific_notifications
1515
from common.core import send_app_specific_notifications_group
1616
from common.core import send_only_thehive_notifications
@@ -116,10 +116,11 @@ def print_callback(message, context):
116116

117117
def main_certificate_transparency():
118118
"""
119-
Launch CertStream scan using certstream-server-go via WebSocket.
119+
Launch Certificate Transparency monitoring.
120+
Connects directly to public CT logs with proxy support.
120121
"""
121-
logger.info(f"Connecting to certstream-server-go at {settings.CERT_STREAM_URL}")
122-
listen_for_events(print_callback, url=settings.CERT_STREAM_URL)
122+
logger.info("Starting Certificate Transparency monitoring...")
123+
listen_for_events(print_callback)
123124

124125

125126
def main_dns_twist():

0 commit comments

Comments
 (0)