mirror of
https://github.com/iio612/DEFENDER.git
synced 2026-02-13 19:24:23 +00:00
.
This commit is contained in:
@@ -704,6 +704,8 @@ class Defender():
|
|||||||
return None
|
return None
|
||||||
if self.defConfig['cloudfilt_scan'] == 0:
|
if self.defConfig['cloudfilt_scan'] == 0:
|
||||||
return None
|
return None
|
||||||
|
if self.cloudfilt_key == '':
|
||||||
|
return None
|
||||||
|
|
||||||
service_id = self.Config.SERVICE_ID
|
service_id = self.Config.SERVICE_ID
|
||||||
service_chanlog = self.Config.SERVICE_CHANLOG
|
service_chanlog = self.Config.SERVICE_CHANLOG
|
||||||
@@ -714,7 +716,7 @@ class Defender():
|
|||||||
|
|
||||||
data = {
|
data = {
|
||||||
'ip': remote_ip,
|
'ip': remote_ip,
|
||||||
'key': 'r1gEtjtfgRQjtNBDMxsg'
|
'key': self.cloudfilt_key
|
||||||
}
|
}
|
||||||
|
|
||||||
response = requests.post(url=url, data=data)
|
response = requests.post(url=url, data=data)
|
||||||
|
|||||||
Reference in New Issue
Block a user