diff --git a/lib/core/settings.py b/lib/core/settings.py index 77f3aa71b..82575e1d2 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -18,7 +18,7 @@ from lib.core.enums import OS from thirdparty.six import unichr as _unichr # sqlmap version (...) -VERSION = "1.3.7.1" +VERSION = "1.3.7.2" 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/lib/request/dns.py b/lib/request/dns.py index 109f6c8d0..8c6df781b 100644 --- a/lib/request/dns.py +++ b/lib/request/dns.py @@ -84,7 +84,7 @@ class DNSServer(object): except: pass finally: - if response and "google" in response: + if response and b"google" in response: raise socket.error("another DNS service already running on *:53") def pop(self, prefix=None, suffix=None):