Wait a second checking blocked packet report

This commit is contained in:
nik012003
2022-08-23 21:03:12 +02:00
parent 4bac66a3a6
commit d46f96d636

View File

@@ -68,6 +68,7 @@ def checkRegex(regex, should_work=True, upper=False):
if not server.sendCheckData(secrets.token_bytes(200) + s + secrets.token_bytes(200)):
puts(f"The malicious request was successfully blocked ✔", color=colors.green)
n_blocked += 1
time.sleep(1)
if firegex.nf_get_regex(r["id"])["n_packets"] == n_blocked:
puts(f"The packed was reported as blocked ✔", color=colors.green)
else: