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