Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
NoDataFound authored Sep 7, 2023
1 parent adc4dc4 commit 2cadfef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tools/SSC_APIHunter/ASI_ESXiArgs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
10 changes: 5 additions & 5 deletions tools/SSC_APIHunter/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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+"",
Expand Down Expand Up @@ -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+"",
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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+"",
Expand Down

0 comments on commit 2cadfef

Please sign in to comment.