<commit_before># -*- coding: utf-8 -*-
# -------------------------------------------------------------------------------
# Name:        sfp_fsecure_riddler
# Purpose:     Query F-Secure Riddler.io API.
#
# Author:      <<EMAIL>>
#
# Created:     2019-09-16
# Copyright:   (c) bcoles 2019
# Licence:     GPL
# -------------------------------------------------------------------------------

import json
import time
from sflib import SpiderFoot, SpiderFootPlugin, SpiderFootEvent

class sfp_fsecure_riddler(SpiderFootPlugin):
    """F-Secure Riddler.io:Investigate,Footprint,Passive:Search Engines:apikey:Obtain network information from F-Secure Riddler.io API."""

    meta = {
		'name': "F-Secure Riddler.io",
		'summary': "Obtain network information from F-Secure Riddler.io API.",
		'flags': [ "apikey" ],
		'useCases': [ "Investigate", "Footprint", "Passive" ],
		'categories': [ "Search Engines" ]
	}

    opts = {
        'verify': True,
        'username': '',
        'password': ''
    }<commit_msg>Update riddler meta<commit_after># -*- coding: utf-8 -*-
# -------------------------------------------------------------------------------
# Name:        sfp_fsecure_riddler
# Purpose:     Query F-Secure Riddler.io API.
#
# Author:      <<EMAIL>>
#
# Created:     2019-09-16
# Copyright:   (c) bcoles 2019
# Licence:     GPL
# -------------------------------------------------------------------------------

import json
import time
from sflib import SpiderFoot, SpiderFootPlugin, SpiderFootEvent

class sfp_fsecure_riddler(SpiderFootPlugin):
    """F-Secure Riddler.io:Investigate,Footprint,Passive:Search Engines:apikey:Obtain network information from F-Secure Riddler.io API."""

    meta = {
		'name': "F-Secure Riddler.io",
		'summary': "Obtain network information from F-Secure Riddler.io API.",
		'flags': [ "apikey" ],
		'useCases': [ "Investigate", "Footprint", "Passive" ],
		'categories': [ "Search Engines" ],
        'dataSource': {
            'website': "https://riddler.io/",
            'model': "PRIVATE_ONLY",
            'references': [
                "https://riddler.io/help/api",
                "https://riddler.io/help/search",
                "https://riddler.io/static/riddler_white_paper.pdf",
                "https://www.f-secure.com/en/business/products/vulnerability-management/radar"
            ],
            'apiKeyInstructions': [
                "Registration is disabled for new accounts"
            ],
            'favIcon': "https://riddler.io/static/images/favicon.png",
            'logo': "https://riddler.io/static/images/logo.png",
            'description': "Riddler.io allows you to search in a high quality dataset with more than 396,831,739 hostnames. "
                                "Unlike others, we do not rely on simple port scanning techniques - we crawl the web, "
                                "ensuring an in-depth quality data set you will not find anywhere else.\n"
                                "Use Riddler to enumerate possible attack vectors during your pen-test or use the very same data "
                                "to monitor potential threats before it is too late.\n",
        }
	}

    opts = {
        'verify': True,
        'username': '',
        'password': ''
    }
{'fraction_non_alphanumeric': 0.2164316370324954, 'fraction_numerical': 0.01072961373390558, 'mean_word_length': 1.7328308207705192, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 7, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6250159', 'n_tokens_mistral': 984, 'n_tokens_neox': 923, 'n_words': 225}