From ea961678ee829697c6e905aea218bb72527a123a Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 11 Nov 2016 10:28:50 +0100 Subject: [PATCH] Fixes #2273 --- lib/core/common.py | 5 +++++ lib/core/settings.py | 2 +- txt/checksum.md5 | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/lib/core/common.py b/lib/core/common.py index f7e7c0f4d..8972fb3f2 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -3786,6 +3786,11 @@ def findPageForms(content, url, raise_=False, addToTargets=False): item.selected = True break + if conf.crawlExclude and re.search(conf.crawlExclude, form.action or ""): + dbgMsg = "skipping '%s'" % form.action + logger.debug(dbgMsg) + continue + request = form.click() except (ValueError, TypeError), ex: errMsg = "there has been a problem while " diff --git a/lib/core/settings.py b/lib/core/settings.py index 476237f35..f29c7c69c 100755 --- 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.0.11.11" +VERSION = "1.0.11.12" 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 7a22ad2d2..630f6f50d 100644 --- a/txt/checksum.md5 +++ b/txt/checksum.md5 @@ -26,7 +26,7 @@ ec007a1424da78cfdae90da6ae49ed9b lib/controller/handler.py cc9c82cfffd8ee9b25ba3af6284f057e lib/controller/__init__.py 04f16204c899438dc7599a9a8426bfee lib/core/agent.py eb0bd28b0bd9fbf67dcc3119116df377 lib/core/bigarray.py -1d5ecfd80c2687fa27fb5195f5f0cfca lib/core/common.py +aef64655185ac789696de9ba73d65ec9 lib/core/common.py ab5ef8fe4e4beaef4016d458d0fdefe3 lib/core/convert.py e77cca1cb063016f71f6e6bdebf4ec73 lib/core/data.py 1d042f0bc0557d3fd564ea5a46deb77e lib/core/datatype.py @@ -45,7 +45,7 @@ e60456db5380840a586654344003d4e6 lib/core/readlineng.py b3a62d41a5af6cd7fa733b6227febb0c lib/core/replication.py 99a2b496b9d5b546b335653ca801153f lib/core/revision.py 7c15dd2777af4dac2c89cab6df17462e lib/core/session.py -eb99acfce7a24be8481ad66fe2d88bb8 lib/core/settings.py +77d181efc08bd6d3d97646e98f080b89 lib/core/settings.py 7af83e4f18cab6dff5e67840eb65be80 lib/core/shell.py 23657cd7d924e3c6d225719865855827 lib/core/subprocessng.py c3ace7874a536d801f308cf1fd03df99 lib/core/target.py