diff --git a/lib/core/settings.py b/lib/core/settings.py index c72a81048..2d364650e 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -19,7 +19,7 @@ from lib.core.enums import OS from lib.core.revision import getRevisionNumber # sqlmap version (...) -VERSION = "1.0.5.78" +VERSION = "1.0.5.79" REVISION = getRevisionNumber() STABLE = VERSION.count('.') <= 2 VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev") diff --git a/waf/cloudflare.py b/waf/cloudflare.py index a0e595af4..dad80a122 100644 --- a/waf/cloudflare.py +++ b/waf/cloudflare.py @@ -19,6 +19,7 @@ def detect(get_page): _, headers, _ = get_page(get=vector) retval = re.search(r"cloudflare-nginx", headers.get(HTTP_HEADER.SERVER, ""), re.I) is not None retval |= re.search(r"\A__cfduid=", headers.get(HTTP_HEADER.SET_COOKIE, ""), re.I) is not None + retval |= headers.get("cf-ray") is not None if retval: break