Update some resolutions.

This commit is contained in:
AccentuSoft
2022-08-30 22:52:10 +03:00
parent 75bb7fea47
commit 1cdad0decf
4 changed files with 314 additions and 257 deletions

View File

@@ -13,158 +13,158 @@ class Amass_Domain:
'value': 'None', 'value': 'None',
'global': True, 'global': True,
'default': 'None'}, 'default': 'None'},
'AlienVault': {'description': 'Enter your api key under your profile after' 'AlienVault API Key': {'description': 'Enter your api key under your profile after'
' signing up on https://otx.alienvault.com.', ' signing up on https://otx.alienvault.com.',
'type': 'String', 'type': 'String',
'value': 'None', 'value': 'None',
'global': True, 'global': True,
'default': 'None'}, 'default': 'None'},
'BinaryEdge': {'description': 'Enter your api key under your profile after' 'BinaryEdge API Key': {'description': 'Enter your api key under your profile after'
' signing up on https://app.binaryedge.com.', ' signing up on https://app.binaryedge.com.',
'type': 'String', 'type': 'String',
'value': 'None', 'value': 'None',
'global': True, 'global': True,
'default': 'None'}, 'default': 'None'},
'C99': {'description': 'Enter your api key under your profile after' 'C99 API Key': {'description': 'Enter your api key under your profile after'
' signing up on https://c99.nl.', ' signing up on https://c99.nl.',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'Censys': {'description': 'Enter your api key under your profile after'
' signing up on https://censys.io.',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'Chaos': {'description': 'Enter your api key under your profile after'
' signing up on https://chaos.projectdiscovery.io.',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'Cloudflare': {'description': 'Enter your api key under your profile after'
' signing up on https://cloudflare.com.',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'DNSDB': {'description': 'Enter your api key under your profile after'
' signing up on https://dnsdb.info.',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'GitHub': {'description': 'Enter your api key under your profile after'
' signing up on https://github.com.',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'Hunter': {'description': 'Enter your api key under your profile after'
' signing up on https://hunter.io.',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'IPinfo': {'description': 'Enter your api key under your profile after'
' signing up on https://ipinfo.io.',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'NetworksDB': {'description': 'Enter your api key under your profile after'
' signing up on https://networksdb.io.',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'PassiveTotal': {'description': 'Enter your api key under your profile after'
' signing up on https://passivetotal.com .',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'ReconDev': {'description': 'Enter your api key under your profile after'
' signing up on https://recon.dev.',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'SecurityTrails': {'description': 'Enter your api key under your profile after'
' signing up on https://securitytrails.com.',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'Shodan': {'description': 'Enter your api key under your profile after'
' signing up on https://shodan.io.',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'Spyse': {'description': 'Enter your api key under your profile after'
' signing up on https://spyse.com.',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'ThreatBook': {'description': 'Enter your api key under your profile after'
' signing up on https://threatbook.cn.',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'Umbrella': {'description': 'Enter your api key under your profile after'
' signing up on https://umbrella.cisco.com.',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'URLScan': {'description': 'Enter your api key under your profile after'
' signing up on https://urlscan.io.',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'WhoisXMLAPI': {'description': 'Enter your api key under your profile after'
' signing up on https://whoisxmlapi.com.',
'type': 'String', 'type': 'String',
'value': 'None', 'value': 'None',
'global': True, 'global': True,
'default': 'None'}, 'default': 'None'},
'ZETAlytics': {'description': 'Enter your api key under your profile after' 'Censys API Key': {'description': 'Enter your api key under your profile after'
' signing up on https://zetalytics.com.', ' signing up on https://censys.io.',
'type': 'String', 'type': 'String',
'value': 'None', 'value': 'None',
'global': True, 'global': True,
'default': 'None'}, 'default': 'None'},
'ZoomEye': {'description': 'Please Enter the Username and password with a space ' 'Chaos API Key': {'description': 'Enter your api key under your profile after'
'in between', ' signing up on https://chaos.projectdiscovery.io.',
'type': 'String', 'type': 'String',
'value': 'None', 'value': 'None',
'global': True, 'global': True,
'default': 'None'}, 'default': 'None'},
'FacebookCT': {'description': 'Please Enter the api key and secret with a space ' 'Cloudflare API Key': {'description': 'Enter your api key under your profile after'
'in between. Obtain them at https://developer.facebook.com', ' signing up on https://cloudflare.com.',
'type': 'String', 'type': 'String',
'value': 'None', 'value': 'None',
'global': True, 'global': True,
'default': 'None'}, 'default': 'None'},
'Twitter': {'description': 'Please Enter the api key and secret with a space ' 'DNSDB API Key': {'description': 'Enter your api key under your profile after'
'in between. Obtain them at https://developer.twitter.com', ' signing up on https://dnsdb.info.',
'type': 'String', 'type': 'String',
'value': 'None', 'value': 'None',
'global': True, 'global': True,
'default': 'None'}, 'default': 'None'},
'ReconDev.free': { 'GitHub API Key': {'description': 'Enter your api key under your profile after'
' signing up on https://github.com.',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'Hunter API Key': {'description': 'Enter your api key under your profile after'
' signing up on https://hunter.io.',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'IPInfo Access Token': {'description': 'Enter your api key under your profile after'
' signing up on https://ipinfo.io.',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'NetworksDB API Key': {'description': 'Enter your api key under your profile after'
' signing up on https://networksdb.io.',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'PassiveTotal API Key': {'description': 'Enter your api key under your profile after'
' signing up on https://passivetotal.com .',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'ReconDev API Key': {'description': 'Enter your api key under your profile after'
' signing up on https://recon.dev.',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'SecurityTrails API Key': {'description': 'Enter your api key under your profile after'
' signing up on https://securitytrails.com.',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'Shodan API Key': {'description': 'Enter your api key under your profile after'
' signing up on https://shodan.io.',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'Spyse API Key': {'description': 'Enter your api key under your profile after'
' signing up on https://spyse.com.',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'ThreatBook API Key': {'description': 'Enter your api key under your profile after'
' signing up on https://threatbook.cn.',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'Umbrella API Key': {'description': 'Enter your api key under your profile after'
' signing up on https://umbrella.cisco.com.',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'URLScan API Key': {'description': 'Enter your api key under your profile after'
' signing up on https://urlscan.io.',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'WhoisXMLAPI API Key': {'description': 'Enter your api key under your profile after'
' signing up on https://whoisxmlapi.com.',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'ZETAlytics API Key': {'description': 'Enter your api key under your profile after'
' signing up on https://zetalytics.com.',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'ZoomEye API Key': {'description': 'Please Enter the Username and password with a space '
'in between',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'FacebookCT API Key': {'description': 'Please Enter the api key and secret with a space '
'in between. Obtain them at https://developer.facebook.com',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'Twitter API Key': {'description': 'Please Enter the api key and secret with a space '
'in between. Obtain them at https://developer.twitter.com',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'ReconDev.free API Key': {
'description': 'description':
'Please Enter the api key under your profile after signing up on https://recon.dev', 'Please Enter the api key under your profile after signing up on https://recon.dev',
'type': 'String', 'type': 'String',
'value': 'None', 'value': 'None',
'global': True, 'global': True,
'default': 'None'}, 'default': 'None'},
'ReconDev.paid': { 'ReconDev.paid API Key': {
'description': 'description':
'Please Enter the api key under your profile after signing up on https://recon.dev', 'Please Enter the api key under your profile after signing up on https://recon.dev',
'type': 'String', 'type': 'String',

View File

@@ -7,116 +7,170 @@ class Amass_Intel:
description = "Find information about a particular domain" description = "Find information about a particular domain"
originTypes = {'Domain', 'IP Address', 'Autonomous System'} originTypes = {'Domain', 'IP Address', 'Autonomous System'}
resultTypes = {'Domain'} resultTypes = {'Domain'}
parameters = {'VirusTotal': {'description': 'Enter your api key under your profile after' parameters = {'VirusTotal API Key': {'description': 'Enter your api key under your profile after'
' signing up on https://virustotal.com.', ' signing up on https://virustotal.com.',
'type': 'String', 'type': 'String',
'value': 'None'}, 'value': 'None',
'AlienVault': {'description': 'Enter your api key under your profile after' 'global': True,
' signing up on https://otx.alienvault.com.', 'default': 'None'},
'type': 'String', 'AlienVault API Key': {'description': 'Enter your api key under your profile after'
'value': 'None'}, ' signing up on https://otx.alienvault.com.',
'BinaryEdge': {'description': 'Enter your api key under your profile after' 'type': 'String',
' signing up on https://app.binaryedge.com.', 'value': 'None',
'type': 'String', 'global': True,
'value': 'None'}, 'default': 'None'},
'C99': {'description': 'Enter your api key under your profile after' 'BinaryEdge API Key': {'description': 'Enter your api key under your profile after'
' signing up on https://c99.nl.', ' signing up on https://app.binaryedge.com.',
'type': 'String', 'type': 'String',
'value': 'None'}, 'value': 'None',
'Censys': {'description': 'Enter your api key under your profile after' 'global': True,
' signing up on https://censys.io.', 'default': 'None'},
'type': 'String', 'C99 API Key': {'description': 'Enter your api key under your profile after'
'value': 'None'}, ' signing up on https://c99.nl.',
'Chaos': {'description': 'Enter your api key under your profile after'
' signing up on https://chaos.projectdiscovery.io.',
'type': 'String',
'value': 'None'},
'Cloudflare': {'description': 'Enter your api key under your profile after'
' signing up on https://cloudflare.com.',
'type': 'String',
'value': 'None'},
'DNSDB': {'description': 'Enter your api key under your profile after'
' signing up on https://dnsdb.info.',
'type': 'String',
'value': 'None'},
'GitHub': {'description': 'Enter your api key under your profile after'
' signing up on https://github.com.',
'type': 'String',
'value': 'None'},
'Hunter': {'description': 'Enter your api key under your profile after'
' signing up on https://hunter.io.',
'type': 'String',
'value': 'None'},
'IPinfo': {'description': 'Enter your api key under your profile after'
' signing up on https://ipinfo.io.',
'type': 'String',
'value': 'None'},
'NetworksDB': {'description': 'Enter your api key under your profile after'
' signing up on https://networksdb.io.',
'type': 'String',
'value': 'None'},
'PassiveTotal': {'description': 'Enter your api key under your profile after'
' signing up on https://passivetotal.com .',
'type': 'String',
'value': 'None'},
'ReconDev': {'description': 'Enter your api key under your profile after'
' signing up on https://recon.dev.',
'type': 'String',
'value': 'None'},
'SecurityTrails': {'description': 'Enter your api key under your profile after'
' signing up on https://securitytrails.com.',
'type': 'String',
'value': 'None'},
'Shodan': {'description': 'Enter your api key under your profile after'
' signing up on https://shodan.io.',
'type': 'String',
'value': 'None'},
'Spyse': {'description': 'Enter your api key under your profile after'
' signing up on https://spyse.com.',
'type': 'String',
'value': 'None'},
'ThreatBook': {'description': 'Enter your api key under your profile after'
' signing up on https://threatbook.cn.',
'type': 'String',
'value': 'None'},
'Umbrella': {'description': 'Enter your api key under your profile after'
' signing up on https://umbrella.cisco.com.',
'type': 'String',
'value': 'None'},
'URLScan': {'description': 'Enter your api key under your profile after'
' signing up on https://urlscan.io.',
'type': 'String',
'value': 'None'},
'WhoisXMLAPI': {'description': 'Enter your api key under your profile after'
' signing up on https://whoisxmlapi.com.',
'type': 'String', 'type': 'String',
'value': 'None'}, 'value': 'None',
'ZETAlytics': {'description': 'Enter your api key under your profile after' 'global': True,
' signing up on https://zetalytics.com.', 'default': 'None'},
'type': 'String', 'Censys API Key': {'description': 'Enter your api key under your profile after'
'value': 'None'}, ' signing up on https://censys.io.',
'ZoomEye': {'description': 'Please Enter the Username and password with a space ' 'type': 'String',
'in between', 'value': 'None',
'type': 'String', 'global': True,
'value': 'None'}, 'default': 'None'},
'FacebookCT': {'description': 'Please Enter the api key and secret with a space ' 'Chaos API Key': {'description': 'Enter your api key under your profile after'
'in between. Obtain them at https://developer.facebook.com', ' signing up on https://chaos.projectdiscovery.io.',
'type': 'String', 'type': 'String',
'value': 'None'}, 'value': 'None',
'Twitter': {'description': 'Please Enter the api key and secret with a space ' 'global': True,
'in between. Obtain them at https://developer.twitter.com', 'default': 'None'},
'type': 'String', 'Cloudflare API Key': {'description': 'Enter your api key under your profile after'
'value': 'None'}, ' signing up on https://cloudflare.com.',
'ReconDev.free': { 'type': 'String',
'description': 'Please Enter the api key under your"\ 'value': 'None',
"profile after signing up on https://recon.dev', 'global': True,
'default': 'None'},
'DNSDB API Key': {'description': 'Enter your api key under your profile after'
' signing up on https://dnsdb.info.',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'GitHub API Key': {'description': 'Enter your api key under your profile after'
' signing up on https://github.com.',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'Hunter API Key': {'description': 'Enter your api key under your profile after'
' signing up on https://hunter.io.',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'IPInfo Access Token': {'description': 'Enter your api key under your profile after'
' signing up on https://ipinfo.io.',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'NetworksDB API Key': {'description': 'Enter your api key under your profile after'
' signing up on https://networksdb.io.',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'PassiveTotal API Key': {'description': 'Enter your api key under your profile after'
' signing up on https://passivetotal.com .',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'ReconDev API Key': {'description': 'Enter your api key under your profile after'
' signing up on https://recon.dev.',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'SecurityTrails API Key': {'description': 'Enter your api key under your profile after'
' signing up on https://securitytrails.com.',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'Shodan API Key': {'description': 'Enter your api key under your profile after'
' signing up on https://shodan.io.',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'Spyse API Key': {'description': 'Enter your api key under your profile after'
' signing up on https://spyse.com.',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'ThreatBook API Key': {'description': 'Enter your api key under your profile after'
' signing up on https://threatbook.cn.',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'Umbrella API Key': {'description': 'Enter your api key under your profile after'
' signing up on https://umbrella.cisco.com.',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'URLScan API Key': {'description': 'Enter your api key under your profile after'
' signing up on https://urlscan.io.',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'WhoisXMLAPI API Key': {'description': 'Enter your api key under your profile after'
' signing up on https://whoisxmlapi.com.',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'ZETAlytics API Key': {'description': 'Enter your api key under your profile after'
' signing up on https://zetalytics.com.',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'ZoomEye API Key': {'description': 'Please Enter the Username and password with a space '
'in between',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'FacebookCT API Key': {'description': 'Please Enter the api key and secret with a space '
'in between. Obtain them at https://developer.facebook.com',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'Twitter API Key': {'description': 'Please Enter the api key and secret with a space '
'in between. Obtain them at https://developer.twitter.com',
'type': 'String',
'value': 'None',
'global': True,
'default': 'None'},
'ReconDev.free API Key': {
'description':
'Please Enter the api key under your profile after signing up on https://recon.dev',
'type': 'String', 'type': 'String',
'value': 'None'}, 'value': 'None',
'ReconDev.paid': { 'global': True,
'description': 'Please Enter the api key under your profile"\ 'default': 'None'},
"after signing up on https://recon.dev', 'ReconDev.paid API Key': {
'description':
'Please Enter the api key under your profile after signing up on https://recon.dev',
'type': 'String', 'type': 'String',
'value': 'None'}} 'value': 'None',
'global': True,
'default': 'None'}}
def resolution(self, entityJsonList, parameters): def resolution(self, entityJsonList, parameters):
from pathlib import Path from pathlib import Path

View File

@@ -7,14 +7,14 @@ class IPInfo:
description = "Find information about the location of a given IP Address" description = "Find information about the location of a given IP Address"
originTypes = {'IP Address'} originTypes = {'IP Address'}
resultTypes = {'Geocordinates', 'Organization', 'City'} resultTypes = {'Geocordinates', 'Organization', 'City'}
parameters = {'IPInfo Access Token': {'description': 'Enter your access token key under your profile after' parameters = {'IPInfo Access Token': {'description': 'Enter your access token key under your profile after '
'signing up on https://ipinfo.io. Free usage of the API is ' 'signing up on https://ipinfo.io. Free usage of the API is '
'limited to 50,000 requests per month. ' 'limited to 50,000 requests per month. '
'For any requests beyond that limit, no results will be ' 'For any requests beyond that limit, no results will be '
'returned.', 'returned.',
'type': 'String', 'type': 'String',
'value': '', 'value': '',
'global': True}} 'global': True}}
def resolution(self, entityJsonList, parameters): def resolution(self, entityJsonList, parameters):
import requests import requests

View File

@@ -7,11 +7,13 @@ class URLScan:
description = "Find information about a given website" description = "Find information about a given website"
originTypes = {'Website', 'Domain'} originTypes = {'Website', 'Domain'}
resultTypes = {'IP Address', 'Website', 'Domain', 'Hash'} resultTypes = {'IP Address', 'Website', 'Domain', 'Hash'}
parameters = {'api key': {'description': 'Enter your api key under your profile after' parameters = {'URLScan API Key': {'description': 'Enter your api key under your profile after '
' signing up on https://urlscan.io.' 'signing up on https://urlscan.io. '
'Above that limit a code 429 will be returned', 'Requests beyond the limit will fail with HTTP '
'type': 'String', 'status code 429.',
'value': ''}, 'type': 'String',
'global': True,
'value': ''},
'ip results': {'description': 'Enter the number of IP Addresses you want to be returned', 'ip results': {'description': 'Enter the number of IP Addresses you want to be returned',
'type': 'String', 'type': 'String',
'value': '0'}, 'value': '0'},
@@ -56,7 +58,8 @@ class URLScan:
while response.status_code == 404: while response.status_code == 404:
time.sleep(0.5) time.sleep(0.5)
try: try:
response = requests.post('https://urlscan.io/api/v1/scan/', headers=headers, data=json.dumps(data)) response = requests.post('https://urlscan.io/api/v1/scan/', headers=headers,
data=json.dumps(data))
except requests.exceptions.ConnectionError: except requests.exceptions.ConnectionError:
return "Please check your internet connection" return "Please check your internet connection"
response = response.json() response = response.json()