Update Whats My Name resolution & Shodan Search resolution.

This commit is contained in:
AccentuSoft
2022-05-09 02:42:02 +03:00
parent 29a85421b8
commit 64848d8142
2 changed files with 17 additions and 16 deletions

View File

@@ -2,14 +2,14 @@
class ShodanSearch: class ShodanSearch:
name = "Shodan Database Search" name = "Shodan Search"
category = "Network Infrastructure" category = "Network Infrastructure"
description = "Search Shodan's database" description = "Search Shodan's database"
originTypes = {'IP Address', 'Phrase', 'Person'} originTypes = {'IP Address', 'Phrase', 'Person'}
resultTypes = {'IP Address'} resultTypes = {'IP Address'}
parameters = {'Shodan API Key': {'description': 'Enter your Premium API key under your profile after' parameters = {'Shodan API Key': {'description': 'Enter your Premium API key under your profile after '
'signing up on https://shodan.io/ for more info on billing ' 'signing up on https://shodan.io/.\nFor more info on billing '
'plans:https://account.shodan.io/billing', 'plans: https://account.shodan.io/billing',
'type': 'String', 'type': 'String',
'value': '', 'value': '',
'globals': True}, 'globals': True},
@@ -18,14 +18,13 @@ class ShodanSearch:
'be mindful of the value you enter.', 'be mindful of the value you enter.',
'type': 'String', 'type': 'String',
'value': 'Enter the number of results you want returned', 'value': 'Enter the number of results you want returned',
'default': '1'} 'default': '10'}
} }
def resolution(self, entityJsonList, parameters): def resolution(self, entityJsonList, parameters):
import shodan import shodan
return_result = [] return_result = []
results_count = 0
api_key = parameters['Shodan API Key'].strip() api_key = parameters['Shodan API Key'].strip()
try: try:
max_results = int(parameters['Number of results']) max_results = int(parameters['Number of results'])

View File

@@ -2432,11 +2432,12 @@
}, },
{ {
"name" : "Wikipedia", "name" : "Wikipedia",
"check_uri" : "https://en.wikipedia.org/wiki/User:{account}", "check_uri" : "https://en.wikipedia.org/w/api.php?action=query&format=json&list=users&ususers={account}",
"pretty_uri" : "https://en.wikipedia.org/wiki/User:{account}",
"account_existence_code" : "200", "account_existence_code" : "200",
"account_existence_string" : "Edit this page", "account_existence_string" : "userid",
"account_missing_string" : "", "account_missing_string" : "missing:",
"account_missing_code" : "404", "account_missing_code" : "200",
"known_accounts" : ["Mcd51", "W._Frank"], "known_accounts" : ["Mcd51", "W._Frank"],
"category" : "news", "category" : "news",
"valid" : true "valid" : true
@@ -3954,15 +3955,16 @@
"valid": true "valid": true
}, },
{ {
"name" : "Twitch.tv", "name" : "Twitch",
"check_uri" : "https://passport.twitch.tv/usernames/{account}", "check_uri" : "https://twitchtracker.com/search?q={account}",
"pretty_uri" : "https://twitch.tv/{account}/",
"account_existence_code" : "200", "account_existence_code" : "200",
"account_existence_string" : "", "account_existence_string" : "Found Exact Match",
"account_missing_string" : "", "account_missing_string" : "nothing found",
"account_missing_code" : "204", "account_missing_code" : "200",
"known_accounts" : ["summit1g", "cohhcarnage"], "known_accounts" : ["summit1g", "cohhcarnage"],
"category" : "gaming", "category" : "gaming",
"valid" : false "valid" : true
}, },
{ {
"name" : "fansly", "name" : "fansly",