From 2cadfeff30bc7e377929ce807b1579d8461d17ce Mon Sep 17 00:00:00 2001 From: "Corian (Cory) Kennedy" Date: Thu, 7 Sep 2023 17:01:01 -0500 Subject: [PATCH] Add files via upload --- tools/SSC_APIHunter/ASI_ESXiArgs.py | 2 +- tools/SSC_APIHunter/query.py | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/SSC_APIHunter/ASI_ESXiArgs.py b/tools/SSC_APIHunter/ASI_ESXiArgs.py index 56fcedc..7131b85 100755 --- a/tools/SSC_APIHunter/ASI_ESXiArgs.py +++ b/tools/SSC_APIHunter/ASI_ESXiArgs.py @@ -94,7 +94,7 @@ for sscbl in ssc_policy: - asseturl = 'https://platform-api.securityscorecard.io/asi/search' + asseturl = 'https://api.securityscorecard.io/asi/search' data = { "query": ""+sscbl+"", "cursor": "initial", diff --git a/tools/SSC_APIHunter/query.py b/tools/SSC_APIHunter/query.py index b09af9a..f855d30 100644 --- a/tools/SSC_APIHunter/query.py +++ b/tools/SSC_APIHunter/query.py @@ -64,7 +64,7 @@ def ssc_query(): } #------------------------------------ search setup ------------------------------------ - asseturl = 'https://platform-api.securityscorecard.io/asi/search' + asseturl = 'https://api.securityscorecard.io/asi/search' data = { "query": ""+search+"", "cursor": "initial", @@ -165,7 +165,7 @@ def ssc_query(): #------------------------------------ threat-actor ------------------------------------ if asi_endpoints =='threat-actor': - asseturl = 'https://platform-api.securityscorecard.io/asi/search' + asseturl = 'https://api.securityscorecard.io/asi/search' asiweb = "https://platform.securityscorecard.io/#/asi/search/"+search data = { "query": ""+search+"", @@ -194,7 +194,7 @@ def ssc_query(): print("\033[0;32m \033[0m"+line, end="") #------------------------------------ active-infections ------------------------------------ if asi_endpoints =='active-infections': - asseturl = 'https://platform-api.securityscorecard.io/asi/search' + asseturl = 'https://api.securityscorecard.io/asi/search' asiweb = "https://platform.securityscorecard.io/#/asi/search/"+search data = { "query": ""+search+"", @@ -231,7 +231,7 @@ def ssc_query(): "cursor": "initial", "size": 1000 } - asseturl = 'https://platform-api.securityscorecard.io/asi/search' + asseturl = 'https://api.securityscorecard.io/asi/search' asiweb = "https://platform.securityscorecard.io/#/asi/search/"+search response = requests.post(asseturl, headers = headers, json = data).json() results = json.dumps(response, indent=4, sort_keys=True) @@ -262,7 +262,7 @@ def ssc_query(): "Authorization": "Token " +key, #"Cookie": cookie, } - asseturl = 'https://platform-api.securityscorecard.io/asi/search' + asseturl = 'https://api.securityscorecard.io/asi/search' asiweb = "https://platform.securityscorecard.io/#/asi/search/"+search data = { "query": ""+search+"",