Compare commits
1 Commits
main
...
pixeebot/d
Author | SHA1 | Date | |
---|---|---|---|
|
a2621fc05b |
@ -39,7 +39,7 @@ def watch_iocs():
|
||||
iocs_list = []
|
||||
to_delete = []
|
||||
try:
|
||||
res = requests.get(w["url"], verify=False)
|
||||
res = requests.get(w["url"], verify=True)
|
||||
if res.status_code == 200:
|
||||
content = json.loads(res.content)
|
||||
iocs_list = content["iocs"] if "iocs" in content else []
|
||||
@ -88,7 +88,7 @@ def watch_whitelists():
|
||||
elements = []
|
||||
to_delete = []
|
||||
try:
|
||||
res = requests.get(w["url"], verify=False)
|
||||
res = requests.get(w["url"], verify=True)
|
||||
if res.status_code == 200:
|
||||
content = json.loads(res.content)
|
||||
elements = content["elements"] if "elements" in content else []
|
||||
|
Loading…
Reference in New Issue
Block a user