This commit is contained in:
Jing Ling
2020-08-01 17:41:33 +08:00
parent f5e88e0b05
commit 365a2ec7f7
52 changed files with 53 additions and 62 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ from common.query import Query
class AlienVault(Query):
def __init__(self, domain):
Query.__init__(self)
self.domain = self.get_maindomain(domain)
self.domain = domain
self.module = 'Intelligence'
self.source = 'AlienVaultQuery'
+1 -1
View File
@@ -5,7 +5,7 @@ from common.query import Query
class RiskIQ(Query):
def __init__(self, domain):
Query.__init__(self)
self.domain = self.get_maindomain(domain)
self.domain = domain
self.module = 'Intelligence'
self.source = 'RiskIQAPIQuery'
self.addr = 'https://api.passivetotal.org/v2/enrichment/subdomains'
+1 -1
View File
@@ -5,7 +5,7 @@ from common.query import Query
class ThreatBookAPI(Query):
def __init__(self, domain):
Query.__init__(self)
self.domain = self.get_maindomain(domain)
self.domain = domain
self.module = 'Intelligence'
self.source = 'ThreatBookAPIQuery'
self.addr = 'https://api.threatbook.cn/v3/domain/sub_domains'
+1 -1
View File
@@ -4,7 +4,7 @@ from common.query import Query
class ThreatMiner(Query):
def __init__(self, domain):
Query.__init__(self)
self.domain = self.get_maindomain(domain)
self.domain = domain
self.module = 'Intelligence'
self.source = 'ThreatMinerQuery'
self.addr = 'https://www.threatminer.org/getData.php'
+1 -1
View File
@@ -11,7 +11,7 @@ class VirusTotal(Query):
self.source = 'VirusTotalQuery'
self.module = 'Intelligence'
self.addr = 'https://www.virustotal.com/ui/domains/{}/subdomains'
self.domain = self.get_maindomain(domain)
self.domain = domain
def query(self):
"""
+1 -1
View File
@@ -5,7 +5,7 @@ from common.query import Query
class VirusTotalAPI(Query):
def __init__(self, domain):
Query.__init__(self)
self.domain = self.get_maindomain(domain)
self.domain = domain
self.module = 'Intelligence'
self.source = 'VirusTotalAPIQuery'
self.addr = 'https://www.virustotal.com/vtapi/v2/domain/report'