forked from rDrama/rDrama
1
0
Fork 0
master
Aevann 2024-01-02 20:07:26 +02:00
parent c07f81d0ca
commit 2184ff7fb6
1 changed files with 5 additions and 3 deletions

View File

@ -1366,10 +1366,12 @@ def gumroad():
def bm():
data = json.loads(request.data)
ip = request.headers.get('CF-Connecting-IP')
print(ip, flush=True)
# if ip != '3.23.31.237':
# return ''
if ip not in {'54.187.174.169','54.187.205.235','54.187.216.72'}:
print(STARS, flush=True)
print(f'/bm fail: {ip}')
print(STARS, flush=True)
abort(400)
data = data['data']['object']