From a7695dd06fe9c30e42717cfa973d1ddca8408f8e Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Wed, 3 Jul 2019 09:17:25 +0200 Subject: [PATCH] Fixes #3792 --- lib/core/settings.py | 2 +- lib/request/dns.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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):