Esempio n. 1
0
 def __init__(self,
              api_key,
              api_url="https://www.virustotal.com/vtapi/v2/"):
     Domain.__init__(self, api_key=api_key, api_url=api_url)
     FileHash.__init__(self, api_key=api_key, api_url=api_url)
     IPAddress.__init__(self, api_key=api_key, api_url=api_url)
     URL.__init__(self, api_key=api_key, api_url=api_url)
Esempio n. 2
0
 def __init__(
     self,
     api_key=phishtank,
     api_url="http://checkurl.phishtank.com/checkurl/",
     username=None,
 ):
     self._username = username
     URL.__init__(self, api_key, api_url)
Esempio n. 3
0
    def __init__(self,
                 api_url="https://urlhaus-api.abuse.ch/v1/",
                 url_id=None):
        self._url_id = url_id

        Domain.__init__(self, api_url=api_url)
        FileHash.__init__(self, api_url=api_url)
        IPAddress.__init__(self, api_url=api_url)
        URL.__init__(self, api_url=api_url)
Esempio n. 4
0
 def __init__(
     self,
     api_key,
     api_url="https://www.hybrid-analysis.com/api/v2/",
     job_id=None,
 ):
     self._job_id = job_id
     FileHash.__init__(self, api_url=api_url, api_key=api_key)
     URL.__init__(self, api_url=api_url, api_key=api_key)
Esempio n. 5
0
 def __init__(self,
              api_url="https://urlscan.io/api/v1/",
              api_key=urlscan,
              id=None):
     self._id = id
     Domain.__init__(self, api_url=api_url, api_key=api_key)
     FileHash.__init__(self, api_url=api_url, api_key=api_key)
     IPAddress.__init__(self, api_url=api_url, api_key=api_key)
     URL.__init__(self, api_url=api_url, api_key=api_key)
Esempio n. 6
0
 def __init__(self, api_key):
     Domain.__init__(self, api_key=api_key)
     FileHash.__init__(self, api_key=api_key)
     IPAddress.__init__(self, api_key=api_key)
     URL.__init__(self, api_key=api_key)
Esempio n. 7
0
 def __init__(self, api_key, api_url):
     Domain.__init__(self, api_key=api_key, api_url=api_url)
     EmailAddress.__init__(self, api_key=api_key, api_url=api_url)
     FileHash.__init__(self, api_key=api_key, api_url=api_url)
     IPAddress.__init__(self, api_key=api_key, api_url=api_url)
     URL.__init__(self, api_key=api_key, api_url=api_url)
Esempio n. 8
0
 def __init__(self,
              api_key=linkpreview,
              api_url="https://api.linkpreview.net"):
     URL.__init__(self, api_key, api_url)
Esempio n. 9
0
 def __init__(
     self,
     api_key=googlesafebrowsing,
     api_url="https://safebrowsing.googleapis.com/v4/threatMatches:find",
 ):
     URL.__init__(self, api_key, api_url)