Merge pull request #24 from onSec-fr/master

Update utils.py
pull/26/head
Swissky 2020-10-05 20:32:19 +02:00 committed by GitHub
commit 87b56264a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ def requester(url, method, payload, headers=None, use_json=False):
print("\033[91m/!\ API didn't respond correctly to a POST method !\033[0m")
return None
else:
r = requests.get(url + "?query={}".format(payload), verify=False)
r = requests.get(url + "?query={}".format(payload), verify=False, headers=headers)
return r