From 21ce71bee82bdb3e5091c19b42b55c30703e4e9e Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Wed, 16 Jan 2019 10:32:56 +0100 Subject: [PATCH] Removing junk --- lib/core/settings.py | 2 +- txt/checksum.md5 | 3 +-- waf/teros.py | 24 ------------------------ 3 files changed, 2 insertions(+), 27 deletions(-) delete mode 100644 waf/teros.py diff --git a/lib/core/settings.py b/lib/core/settings.py index 7ec84b35b..b3224bb00 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -19,7 +19,7 @@ from lib.core.enums import DBMS_DIRECTORY_NAME from lib.core.enums import OS # sqlmap version (...) -VERSION = "1.3.1.50" +VERSION = "1.3.1.51" 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/txt/checksum.md5 b/txt/checksum.md5 index 8b8093615..4bb02d0d0 100644 --- a/txt/checksum.md5 +++ b/txt/checksum.md5 @@ -49,7 +49,7 @@ fe370021c6bc99daf44b2bfc0d1effb3 lib/core/patch.py 9a7d68d5fa01561500423791f15cc676 lib/core/replication.py 3179d34f371e0295dd4604568fb30bcd lib/core/revision.py d6269c55789f78cf707e09a0f5b45443 lib/core/session.py -80cfb89595be410e564c7501c530c58e lib/core/settings.py +540a2dab2853ea2599996b12183a7c2f lib/core/settings.py a8a7501d1e6b21669b858a62e921d191 lib/core/shell.py 5dc606fdf0afefd4b305169c21ab2612 lib/core/subprocessng.py eec3080ba5baca44c6de4595f1c92a0d lib/core/target.py @@ -465,7 +465,6 @@ ed1ecabfa8396e70494b0a3d70a22eb1 waf/squarespace.py 8ace2ad70a4bba8825c8538e349839da waf/stackpath.py 74bd52941b606d15f1a6cdc7b52f761c waf/sucuri.py 205beb7ed5e70119f8700a9e295b6a4a waf/tencent.py -ef6f83952ce6b5a7bbb19f9b903af2b6 waf/teros.py ba0fb1e6b815446b9d6f30950900fc80 waf/trafficshield.py 1c15216824f96e23a76591ac29eb6d7d waf/urlmaster.py 876c746d96193071271cb8b7e00e1422 waf/urlscan.py diff --git a/waf/teros.py b/waf/teros.py deleted file mode 100644 index 1d4c8019d..000000000 --- a/waf/teros.py +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env python - -""" -Copyright (c) 2006-2019 sqlmap developers (http://sqlmap.org/) -See the file 'LICENSE' for copying permission -""" - -import re - -from lib.core.enums import HTTP_HEADER -from lib.core.settings import WAF_ATTACK_VECTORS - -__product__ = "Teros/Citrix Application Firewall Enterprise (Teros/Citrix Systems)" - -def detect(get_page): - retval = False - - for vector in WAF_ATTACK_VECTORS: - _, headers, _ = get_page(get=vector) - retval = re.search(r"\Ast8(id|_wat|_wlf)", headers.get(HTTP_HEADER.SET_COOKIE, ""), re.I) is not None - if retval: - break - - return retval