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

View File

@@ -2432,11 +2432,12 @@
},
{
"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_string" : "Edit this page",
"account_missing_string" : "",
"account_missing_code" : "404",
"account_existence_string" : "userid",
"account_missing_string" : "missing:",
"account_missing_code" : "200",
"known_accounts" : ["Mcd51", "W._Frank"],
"category" : "news",
"valid" : true
@@ -3954,15 +3955,16 @@
"valid": true
},
{
"name" : "Twitch.tv",
"check_uri" : "https://passport.twitch.tv/usernames/{account}",
"name" : "Twitch",
"check_uri" : "https://twitchtracker.com/search?q={account}",
"pretty_uri" : "https://twitch.tv/{account}/",
"account_existence_code" : "200",
"account_existence_string" : "",
"account_missing_string" : "",
"account_missing_code" : "204",
"account_existence_string" : "Found Exact Match",
"account_missing_string" : "nothing found",
"account_missing_code" : "200",
"known_accounts" : ["summit1g", "cohhcarnage"],
"category" : "gaming",
"valid" : false
"valid" : true
},
{
"name" : "fansly",