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.16k stars 181 forks source link

Update to Greynoise v2 (breaking changes) #86 #135

Closed evilcel3ri closed 3 years ago

evilcel3ri commented 3 years ago

This work upgrade to the newer version of Greynoise API. For this to work, you will need to set up an API key as explained here: https://developer.greynoise.io/docs/libraries-sample-code

The reason to change this was that the v1 of Greynoise API was getting old and the queries were sent through HTTP.

This PR renames the greyhouse.py file to gn.py because python was complaining about the imports.

It deprecates the following command: harpoon greyhouse --tags emotet. However, it opens the possibility to run GNQL with the option: --query. Example: harpoon greyhouse --query "classification:malicious tags:'emotet'".

Te-k commented 3 years ago

Thanks !