From ebee44de372fc515fd5ae032c43ceca54139db96 Mon Sep 17 00:00:00 2001 From: TheTechromancer Date: Thu, 21 Dec 2023 21:14:39 -0500 Subject: [PATCH] update modules to use new template system --- bbot/modules/passivetotal.py | 4 ++-- bbot/modules/securitytrails.py | 4 ++-- bbot/modules/virustotal.py | 4 ++-- bbot/modules/zoomeye.py | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/bbot/modules/passivetotal.py b/bbot/modules/passivetotal.py index ba619aff7f..dfed92939a 100644 --- a/bbot/modules/passivetotal.py +++ b/bbot/modules/passivetotal.py @@ -1,7 +1,7 @@ -from bbot.modules.shodan_dns import shodan_dns +from bbot.modules.templates.subdomain_enum import subdomain_enum_apikey -class passivetotal(shodan_dns): +class passivetotal(subdomain_enum_apikey): watched_events = ["DNS_NAME"] produced_events = ["DNS_NAME"] flags = ["subdomain-enum", "passive", "safe"] diff --git a/bbot/modules/securitytrails.py b/bbot/modules/securitytrails.py index d58b227e50..8d1d1b6a07 100644 --- a/bbot/modules/securitytrails.py +++ b/bbot/modules/securitytrails.py @@ -1,7 +1,7 @@ -from .shodan_dns import shodan_dns +from bbot.modules.templates.subdomain_enum import subdomain_enum_apikey -class securitytrails(shodan_dns): +class securitytrails(subdomain_enum_apikey): watched_events = ["DNS_NAME"] produced_events = ["DNS_NAME"] flags = ["subdomain-enum", "passive", "safe"] diff --git a/bbot/modules/virustotal.py b/bbot/modules/virustotal.py index 90575aaa72..8e0c03934b 100644 --- a/bbot/modules/virustotal.py +++ b/bbot/modules/virustotal.py @@ -1,7 +1,7 @@ -from bbot.modules.shodan_dns import shodan_dns +from bbot.modules.templates.subdomain_enum import subdomain_enum_apikey -class virustotal(shodan_dns): +class virustotal(subdomain_enum_apikey): watched_events = ["DNS_NAME"] produced_events = ["DNS_NAME"] flags = ["subdomain-enum", "passive", "safe"] diff --git a/bbot/modules/zoomeye.py b/bbot/modules/zoomeye.py index 83f9bd641f..3c83fa828f 100644 --- a/bbot/modules/zoomeye.py +++ b/bbot/modules/zoomeye.py @@ -1,7 +1,7 @@ -from bbot.modules.shodan_dns import shodan_dns +from bbot.modules.templates.subdomain_enum import subdomain_enum_apikey -class zoomeye(shodan_dns): +class zoomeye(subdomain_enum_apikey): watched_events = ["DNS_NAME"] produced_events = ["DNS_NAME"] flags = ["affiliates", "subdomain-enum", "passive", "safe"]