Te-k / harpoon

CLI tool for open source and threat intelligence
https://www.randhome.io/blog/2018/02/23/harpoon-an-osint-/-threat-intelligence-tool/
GNU General Public License v3.0
1.15k stars 185 forks source link

Adding Phishtank support #46 #173

Closed evilcel3ri closed 2 years ago

evilcel3ri commented 2 years ago

This works add a first support for Phishtank. A user can query the API without or without a key with the command:

harpoon phishtank url URL

Result will look like this for a negative result

❯ harpoon phishtank url http://dnznice.com/1865835xf3542366mq410647075iz12634OR2GCr103247LD
# Phishtank result for: http://dnznice.com/1865835xf3542366mq410647075iz12634OR2GCr103247LD
------------------------------
Present in database: False

Or for a positive result

❯ harpoon phishtank url http://google.com
# Phishtank result for: http://google.com
------------------------------
Present in database: True
URL to submission: http://www.phishtank.com/phish_detail.php?phish_id=11807
Verified: True
evilcel3ri commented 2 years ago

I need to test it a bit, hold the merge a couple of days