Skip to main content

Another OSINT CLI tool

Project description


OSINT / Threat Intel CLI tool.

PyPI PyPI - Downloads PyPI - License GitHub issues



As a pre-requesite for Harpoon, you need to install lxml requirements, on Debian/Ubuntu : sudo apt-get install libxml2-dev libxslt-dev python-dev.

You need to have geoipupdate installed and correctly configured to use geolocation correctly (make sure you to have GeoLite2-Country GeoLite2-City GeoLite2-ASN as EditionIDs).

If you want to use the screenshot plugin, you need phantomjs and npm installed:

npm install -g phantomjs

Installing harpoon

You can simply install the package from pypi with pip install harpoon

If the above install instructions didn't work, you can build the tool from source by executing the following commands in the terminal (this assumes you are using virtualenvs):

git clone
cd harpoon
pip3 install .

You may want to install harpoontools to have additional commands using harpoon features.


To configure harpoon, run harpoon config and fill in the needed API keys.

Then run harpoon config -u to download needed files. Check what plugins are configured with harpoon config -c.


After configuration the following plugins are available within the harpoon command:

asn                 Gather information on an ASN
binaryedge          Request BinaryEdge API
bitly               Request information through the API
cache               Requests webpage cache from different sources
censys              Request information from Censys database (
certspotter         Get certificates from
circl               Request the CIRCL passive DNS database
config              Configure Harpoon
crtsh               Search in (Certificate Transparency database)
cybercure           Check if intelligence on an IP exists in
dns                 Map DNS information for a domain or an IP
dnsdb               Requests Farsight DNSDB
fullcontact         Requests Full Contact API (
github              Request Github information through the API
googl               Requests Google url shortener API
greynoise           Request Grey Noise API
help                Give help on an Harpoon command
hibp                Request Have I Been Pwned API (
hunter              Request information through the API
hybrid              Requests Hybrid Analysis platform
ip                  Gather information on an IP address
ipinfo              Request information
malshare            Requests MalShare database
misp                Get information from a MISP server through the API
numverify           Query phone number information from NumVerify
opencage            Forward/Reverse geocoding using OpenCage Geocoder API
otx                 Requests information from AlienVault OTX
permacc             Request information through the API
pgp                 Search for information in PGP key servers
pt                  Requests Passive Total database
quad9               Check if a domain is blocked by Quad9
robtex              Search in Robtex API (
safebrowsing        Check if the given domain is in Google safe Browsing list
save                Save a webpage in cache platforms
screenshot          Takes a screenshot of a webpage
securitytrails      Requests SecurityTrails database
shodan              Requests Shodan API
spyonweb            Search in SpyOnWeb through the API
telegram            Request information from Telegram through the API
threatgrid          Request Threat Grid API
threatminer         Requests TreatMiner database
totalhash           Request Total Hash API
twitter             Requests Twitter API
urlscan             Search and submit urls to
vt                  Request Virus Total API

You can get information on each command with harpoon help COMMAND

Access Keys

Similar tools


This code is released under GPLv3 license.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

harpoon-0.1.5.tar.gz (234.9 kB view hashes)

Uploaded source

Built Distribution

harpoon-0.1.5-py3-none-any.whl (274.9 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page