Ejemplo n.º 1
0
 def __init__(self, domain):
     Query.__init__(self)
     self.domain = domain
     self.module = 'Dataset'
     self.source = 'DNSdbAPIQuery'
     self.addr = 'https://api.dnsdb.info/lookup/rrset/name/'
     self.api = settings.dnsdb_api_key
Ejemplo n.º 2
0
 def __init__(self, domain):
     Query.__init__(self)
     self.domain = domain
     self.module = 'Certificate'
     self.source = 'GoogleQuery'
     self.addr = 'https://transparencyreport.google.com/' \
                 'transparencyreport/api/v3/httpsreport/ct/certsearch'
Ejemplo n.º 3
0
 def __init__(self, domain):
     Query.__init__(self)
     self.domain = domain
     self.module = 'Dataset'
     self.source = 'BinaryEdgeAPIQuery'
     self.addr = 'https://api.binaryedge.io/v2/query/domains/subdomain/'
     self.api = settings.binaryedge_api
Ejemplo n.º 4
0
 def __init__(self, domain):
     Query.__init__(self)
     self.domain = domain
     self.module = 'Dataset'
     self.source = 'IPv4InfoAPIQuery'
     self.addr = ' http://ipv4info.com/api_v1/'
     self.api = settings.ipv4info_api_key
Ejemplo n.º 5
0
 def __init__(self, domain):
     Query.__init__(self)
     self.domain = domain
     self.module = 'Intelligence'
     self.source = 'ThreatBookAPIQuery'
     self.addr = 'https://api.threatbook.cn/v3/domain/sub_domains'
     self.key = settings.threatbook_api_key
Ejemplo n.º 6
0
 def __init__(self, domain):
     Query.__init__(self)
     self.domain = domain
     self.module = 'Dataset'
     self.source = 'ChinazAPIQuery'
     self.addr = 'https://apidata.chinaz.com/CallAPI/Alexa'
     self.api = settings.chinaz_api
Ejemplo n.º 7
0
 def __init__(self, domain):
     Query.__init__(self)
     self.domain = domain
     self.module = 'Dataset'
     self.source = 'PassiveDnsQuery'
     self.addr = settings.passivedns_api_addr or 'http://api.passivedns.cn'
     self.token = settings.passivedns_api_token
Ejemplo n.º 8
0
 def __init__(self, domain):
     Query.__init__(self)
     self.domain = domain
     self.module = 'Intelligence'
     self.source = 'RiskIQAPIQuery'
     self.addr = 'https://api.passivetotal.org/v2/enrichment/subdomains'
     self.user = settings.riskiq_api_username
     self.key = settings.riskiq_api_key
Ejemplo n.º 9
0
 def __init__(self, domain):
     Query.__init__(self)
     self.domain = domain
     self.module = 'Dataset'
     self.source = 'SecurityTrailsAPIQuery'
     self.addr = 'https://api.securitytrails.com/v1/domain/'
     self.api = settings.securitytrails_api
     self.delay = 2  # SecurityTrails查询时延至少2秒
Ejemplo n.º 10
0
 def __init__(self, domain):
     Query.__init__(self)
     self.domain = domain
     self.module = 'Dataset'
     self.source = 'CirclAPIQuery'
     self.addr = 'https://www.circl.lu/pdns/query/'
     self.user = settings.circl_api_username
     self.pwd = settings.circl_api_password
Ejemplo n.º 11
0
 def __init__(self, domain):
     Query.__init__(self)
     self.domain = domain
     self.module = 'Certificate'
     self.source = "CensysAPIQuery"
     self.addr = 'https://www.censys.io/api/v1/search/certificates'
     self.id = settings.censys_api_id
     self.secret = settings.censys_api_secret
     self.delay = 3.0  # Censys 接口查询速率限制 最快2.5秒查1次
Ejemplo n.º 12
0
 def __init__(self, domain):
     Query.__init__(self)
     self.domain = domain
     self.module = 'Dataset'
     self.source = 'NetCraftQuery'
     self.init = 'https://searchdns.netcraft.com/'
     self.addr = 'https://searchdns.netcraft.com/?restriction=site+contains'
     self.page_num = 1
     self.per_page_num = 20
Ejemplo n.º 13
0
 def __init__(self, domain):
     Query.__init__(self)
     self.domain = domain
     self.module = 'Dataset'
     self.source = 'SiteDossierQuery'
     self.addr = 'http://www.sitedossier.com/parentdomain/'
     self.delay = 2
     self.page_num = 1
     self.per_page_num = 100
Ejemplo n.º 14
0
 def __init__(self, domain):
     Query.__init__(self)
     self.domain = domain
     self.module = 'Dataset'
     self.source = 'CloudFlareAPIQuery'
     self.token = settings.cloudflare_api_token
     self.addr = 'https://api.cloudflare.com/client/v4/'
     self.header = self.get_header()
     self.header.update({'Authorization': 'Bearer ' + self.token})
     self.header.update({'Content-Type': 'application/json'})
     self.proxy = self.get_proxy(self.source)
Ejemplo n.º 15
0
 def __init__(self, domain):
     Query.__init__(self)
     self.domain = domain
     self.module = 'Dataset'
     self.source = 'AnubisQuery'
     self.addr = 'https://jldc.me/anubis/subdomains/'
Ejemplo n.º 16
0
 def __init__(self, domain):
     Query.__init__(self)
     self.domain = domain
     self.module = 'Intelligence'
     self.source = 'ThreatMinerQuery'
     self.addr = 'https://www.threatminer.org/getData.php'
Ejemplo n.º 17
0
 def __init__(self, domain):
     Query.__init__(self)
     self.domain = domain
     self.module = 'Dataset'
     self.source = "DNSdumpsterQuery"
     self.addr = 'https://dnsdumpster.com/'
Ejemplo n.º 18
0
 def __init__(self, domain):
     Query.__init__(self)
     self.domain = domain
     self.module = 'Certificate'
     self.source = 'CertSpotterQuery'
     self.addr = 'https://api.certspotter.com/v1/issuances'
Ejemplo n.º 19
0
 def __init__(self, domain):
     Query.__init__(self)
     self.source = 'VirusTotalQuery'
     self.module = 'Intelligence'
     self.domain = domain
Ejemplo n.º 20
0
 def __init__(self, domain):
     Query.__init__(self)
     self.domain = domain
     self.module = 'Intelligence'
     self.source = 'AlienVaultQuery'
Ejemplo n.º 21
0
 def __init__(self, domain):
     Query.__init__(self)
     self.domain = domain
     self.module = 'Dataset'
     self.source = 'XimcxQuery'
     self.addr = 'http://sbd.ximcx.cn/DomainServlet'
Ejemplo n.º 22
0
 def __init__(self, domain):
     Query.__init__(self)
     self.domain = domain
     self.module = 'Query'
     self.source = 'QianXunQuery'
Ejemplo n.º 23
0
 def __init__(self, domain):
     Query.__init__(self)
     self.domain = domain
     self.module = 'Dataset'
     self.source = 'CeBaiduQuery'
     self.addr = 'https://ce.baidu.com/index/getRelatedSites'
Ejemplo n.º 24
0
 def __init__(self, domain):
     Query.__init__(self)
     self.domain = domain
     self.module = 'Certificate'
     self.source = 'CrtshQuery'
     self.addr = 'https://crt.sh/'
Ejemplo n.º 25
0
 def __init__(self, domain):
     Query.__init__(self)
     self.domain = domain
     self.module = 'Dataset'
     self.source = 'IP138Query'
     self.addr = 'https://site.ip138.com/{domain}/domain.htm'
Ejemplo n.º 26
0
 def __init__(self, domain):
     Query.__init__(self)
     self.domain = domain
     self.module = 'Dataset'
     self.source = 'RapidDNSQuery'
Ejemplo n.º 27
0
 def __init__(self, domain):
     Query.__init__(self)
     self.domain = domain
     self.module = 'Dataset'
     self.source = 'RiddlerQuery'
     self.addr = 'https://riddler.io/search'
Ejemplo n.º 28
0
 def __init__(self, domain):
     Query.__init__(self)
     self.domain = domain
     self.module = 'Dataset'
     self.source = 'ChinazQuery'
     self.addr = 'https://alexa.chinaz.com/'
Ejemplo n.º 29
0
 def __init__(self, domain):
     Query.__init__(self)
     self.domain = domain
     self.module = 'Dataset'
     self.source = 'PhoneBookQuery'
Ejemplo n.º 30
0
 def __init__(self, domain):
     Query.__init__(self)
     self.domain = domain
     self.module = 'Dataset'
     self.source = "HackerTargetQuery"
     self.addr = 'https://api.hackertarget.com/hostsearch/'