Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 0 additions & 32 deletions domaintools/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,38 +411,6 @@ def whois_history(self, query, mode=None, sort=None, offset=None, limit=None, **
**kwargs,
)

def phisheye(self, query, days_back=None, **kwargs):
"""Returns domain results for the specified term for today or the specified number of days_back.
Terms must be setup for monitoring via the web interface: https://research.domaintools.com/phisheye.

NOTE: Properties of a domain are only provided if we have been able to obtain them.
Many domains will have incomplete data because that information isn't available in their Whois records,
or they don't have DNS results for a name server or IP address.
"""
return self._results(
"phisheye",
"/v1/phisheye",
query=query,
days_back=days_back,
items_path=("domains",),
**kwargs,
)

def phisheye_term_list(self, include_inactive=False, **kwargs):
"""Provides a list of terms that are set up for this account.
This call is not charged against your API usage limit.

NOTE: The terms must be configured in the PhishEye web interface: https://research.domaintools.com/phisheye.
There is no API call to set up the terms.
"""
return self._results(
"phisheye_term_list",
"/v1/phisheye/term-list",
include_inactive=include_inactive,
items_path=("terms",),
**kwargs,
)

def iris(
self,
domain=None,
Expand Down
1 change: 0 additions & 1 deletion domaintools/cli/commands/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
from .iris import *
from .domains import *
from .ips import *
from .phisheye import *
from .detects import *
from .feeds import *
100 changes: 0 additions & 100 deletions domaintools/cli/commands/phisheye.py

This file was deleted.

4 changes: 0 additions & 4 deletions domaintools/cli/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@
IRIS_DETECT_ESCALATE_DOMAINS = "iris_detect_escalate_domains"
IRIS_DETECT_IGNORED_DOMAINS = "iris_detect_ignored_domains"

# phisheye
PHISHEYE = "phisheye"
PHISHEYE_TERM_LIST = "phisheye_term_list"

# feeds
FEEDS_NAD = "nad"
FEEDS_NOD = "nod"
Expand Down
21 changes: 0 additions & 21 deletions domaintools/cli/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,25 +29,6 @@ def _iris_investigate_helptext():
"""


def _phisheye_helptext():
return """
Returns domain results for the specified term for today or the specified number of days_back. Terms must be setup for monitoring via the web interface: https://research.domaintools.com/phisheye. \n

NOTE: Properties of a domain are only provided if we have been able to obtain them. \n
Many domains will have incomplete data because that information isn't available in their Whois records,
or they don't have DNS results for a name server or IP address.
"""


def _phisheye_termlist():
return """
Provides a list of terms that are set up for this account. This call is not charged against your API usage limit.

NOTE: The terms must be configured in the PhishEye web interface: https://research.domaintools.com/phisheye. \n
There is no API call to set up the terms.
"""


_command_help_mapper = {
c.ACCOUNT_INFORMATION: "Provides a snapshot of your accounts current API usage.",
c.AVAILABLE_API_CALLS: "Provides a list of api calls that you can use based on your account information.",
Expand All @@ -71,8 +52,6 @@ def _phisheye_termlist():
c.REVERSE_WHOIS: "Provides list of one or more terms to search for in the Whois record, as a Python list or separated with the pipe character ( | ).",
c.WHOIS: "Pass in a domain name or an IP address to perform a whois lookup.",
c.WHOIS_HISTORY: "Retrieve historical Whois records of a given domain name.",
c.PHISHEYE: _phisheye_helptext(),
c.PHISHEYE_TERM_LIST: _phisheye_termlist(),
c.IRIS: "Performs a search for the provided search terms ANDed together, returning the pivot engine row data for the resulting domains.",
c.RISK: "Returns back the risk score for a given domain.",
c.RISK_EVIDENCE: "Returns back the detailed risk evidence associated with a given domain.",
Expand Down
Loading