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

Greynoise & Config #156

Closed XavCC closed 3 years ago

XavCC commented 3 years ago

Hi,

with harpoon-0.1.6 I got an issue with greynoise

harpoon greynoise -i IP
Invalid configuration for this plugin, quitting...

The recent changes were made with greynoise API community https://github.com/Te-k/harpoon/blob/master/harpoon/commands/gn.py

And now no config appears in harpoon config -c for greynoise

So I'm lost :thinking:

evilcel3ri commented 3 years ago

Going to look into it

XavCC commented 3 years ago

Well,

my bad.

While $ harpoon config I just add using vi:

[GreyNoise]
key: api.greynoise.io/v3/community
api_type: community
intel: true

A bit confusing when given a list to complete that did not contain greynoise.

if you agree @christalib I would suggest

My config was like this with $ harpoon config output (before editing)

[Bitly]
token:

[BinaryEdge]
key: 

[Googl]
token:

[Circl]
user: 
pass: 

[Twitter]
consumer_key:
consumer_secret:
access_token:
access_token_secret:

[PassiveTotal]
username:
key:

[Shodan]
key:

[FullContact]
key:

[Hunter]
key:

[Censys]
id:
secret:

[SafeBrowsing]
key:

[SpyOnWeb]
token:

[Telegram]
id:
hash:
phone:

[VirusTotal]
key:
type: public

[Misp]
url:
key:

[AlienVaultOtx]
key:

[TotalHash]
user:
key:

[HybridAnalysis]
key:
secret:

[MalShare]
key:

[ThreatGrid]
key:

[CertSpotter]
id:
key:

[Permacc]
key:

[IPInfo]
token: 

[OpenCage]
key:

For example, missing needs: greynoise , tor , quad9, ThreatMiner, etc.

evilcel3ri commented 3 years ago

Ok, we'll get that done. Thank for reporting!