From 8473e2edc69eec8d1cc3b377f94f7893af5f1411 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0tampar?= Date: Mon, 28 Sep 2026 00:49:25 +0200 Subject: [PATCH] Fixes CI/CD errors --- lib/core/settings.py | 2 +- tests/test_dns_server.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 40b5fbec3..f5b2b7ed1 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -20,7 +20,7 @@ from lib.core.enums import OS from thirdparty import six # sqlmap version (...) -VERSION = "1.10.9.27" +VERSION = "1.10.9.28" TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable" TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34} VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE) diff --git a/tests/test_dns_server.py b/tests/test_dns_server.py index dc2bf5ce1..7624e4638 100644 --- a/tests/test_dns_server.py +++ b/tests/test_dns_server.py @@ -381,7 +381,7 @@ class TestInteractshDNSServer(unittest.TestCase): # draining its pending storage in a single /poll response if names_batch: batch = [{"protocol": "dns", "full-id": n, "unique-id": n} for n in names_batch] - names_batch.clear() + del names_batch[:] return batch return [] client.poll = poll @@ -449,7 +449,7 @@ class TestInteractshDNSServer(unittest.TestCase): # draining its pending storage in a single /poll response if rec_batch: batch = rec_batch[:] - rec_batch.clear() + del rec_batch[:] return batch return [] client.poll = poll @@ -753,7 +753,7 @@ class TestInteractshHTTPRequests(unittest.TestCase): # draining its pending storage in a single /poll response if rec_batch: batch = rec_batch[:] - rec_batch.clear() + del rec_batch[:] return batch return [] client.poll = poll