From d16252e959a1c94a42fcf9b084ee2607a15b41b0 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 10 Jan 2019 14:19:20 +0100 Subject: [PATCH] Removing junk --- lib/core/settings.py | 2 +- txt/checksum.md5 | 3 +-- waf/blockdos.py | 24 ------------------------ 3 files changed, 2 insertions(+), 27 deletions(-) delete mode 100644 waf/blockdos.py diff --git a/lib/core/settings.py b/lib/core/settings.py index f8a87fc7b..8ec5e503f 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.34" +VERSION = "1.3.1.35" 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 49701452c..d6301a7be 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 -030191317120c2bae605d2ef3ad5ff3b lib/core/settings.py +ea3015b1f6bd7e4f462818ce2c11f6eb lib/core/settings.py a8a7501d1e6b21669b858a62e921d191 lib/core/shell.py 5dc606fdf0afefd4b305169c21ab2612 lib/core/subprocessng.py eec3080ba5baca44c6de4595f1c92a0d lib/core/target.py @@ -406,7 +406,6 @@ b6bc83ae9ea69cf96e9389bde8250c7c waf/airlock.py 9dbec5d674ed4c762ffc9bc3ab402739 waf/aws.py 4fd9a8e3aac364fe5509b23e7eb5a448 waf/barracuda.py 742f8c9b7f3a858e11dfd2ce3df65c6e waf/binarysec.py -ef8c5db49ad9973b59d6b9b65b001714 waf/blockdos.py 2608fbe2c80fae99bb09db1f93d80cdd waf/bluedon.py 8385218d8a1863dbfd4274db36880dfe waf/cerber.py 5ae64cad95b7f904c350cc81230c3bd1 waf/chinacache.py diff --git a/waf/blockdos.py b/waf/blockdos.py deleted file mode 100644 index fe430ad70..000000000 --- a/waf/blockdos.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__ = "BlockDoS" - -def detect(get_page): - retval = False - - for vector in WAF_ATTACK_VECTORS: - _, headers, _ = get_page(get=vector) - retval = re.search(r"BlockDos\.net", headers.get(HTTP_HEADER.SERVER, ""), re.I) is not None - if retval: - break - - return retval