Fixed some breaking changes and added some QOL improvements on HMTL Preflight

This commit is contained in:
=
2025-08-29 11:46:57 -04:00
parent fa4fc6bd7e
commit bb3cfb9bd4
2 changed files with 34 additions and 9 deletions
+1 -2
View File
@@ -27,7 +27,7 @@ def pullPolicyExechistories(url, choice, policiesnames, outputjson: bool):
checkpoint = '000000000000000000000000'
json_output = {'error': 'Success', 'response': {'exechistories': []}}
while True:
json_response_data = checkpoint_stomper(checkpoint, url, policiesnames[choice], headers)
json_response_data = checkpoint_stomper(checkpoint, url, policiesnames, headers)
if not json_response_data['response']['exechistories']:
break
match_found = False
@@ -76,7 +76,6 @@ def checkpoint_stomper(checkpoint, url, policy, headers):
json_output['response']['exechistories'].append(item)
parse_text = json.loads(json.dumps(json_output))
return parse_text
def listPolicies(url):
endpoint = url + '/v1/group'
print(ct.colorText("[+] Grabbing All Policies", "cyan"))