Welcome to PyPhishtankLookup’s documentation!¶
This is the client API for Phishtank Lookup:
Phishtank Lookup is a tool that use the hourly dump of Phishtank and allows to run queries locally.
Installation¶
The package is available on PyPi, so you can install it with:
pip install pyphishtanklookup
Usage¶
You can use pyphishtanklookup as a python script:
$ phishtank-lookup -h
usage: phishtank-lookup [-h] [--url URL]
(--info | --url_query url | --urls_by_cc cc | --urls_by_ip ip | --urls_by_asn asn)
Search a URL in Phishtank Lookup.
optional arguments:
-h, --help show this help message and exit
--url URL URL of the instance (defaults to https://phishtankapi.circl.lu/).
--info Info avout the instance.
--url_query url URL to search.
--urls_by_cc cc Country Code to search.
--urls_by_ip ip IP address to search.
--urls_by_asn asn ASN to search.
Or as a library:
- API reference
- PhishtankLookup
PhishtankLookup
PhishtankLookup.get_asns()
PhishtankLookup.get_ccs()
PhishtankLookup.get_ips()
PhishtankLookup.get_url_entry()
PhishtankLookup.get_urls()
PhishtankLookup.get_urls_by_asn()
PhishtankLookup.get_urls_by_cc()
PhishtankLookup.get_urls_by_ip()
PhishtankLookup.info()
PhishtankLookup.is_up
PhishtankLookup.redis_up()
- PhishtankLookup