From 96177393e10c22c81737b05b5ea81abeaa9fbbbd Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sun, 10 Jun 2012 13:38:12 +0000 Subject: [PATCH] minor update regarding --exact switch --- lib/parse/cmdline.py | 2 +- plugins/generic/enumeration.py | 2 +- sqlmap.conf | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/parse/cmdline.py b/lib/parse/cmdline.py index 4cece08d5..e79ca02c3 100644 --- a/lib/parse/cmdline.py +++ b/lib/parse/cmdline.py @@ -598,7 +598,7 @@ def cmdLineParser(): miscellaneous.add_option("--exact", dest="exact", action="store_true", - help="Prefer usage of exact names for provided identificators") + help="Prefer usage of exactly provided identificator names") miscellaneous.add_option("--gpage", dest="googlePage", type="int", help="Use Google dork results from specified page number") diff --git a/plugins/generic/enumeration.py b/plugins/generic/enumeration.py index e9d24b9a2..874d45971 100644 --- a/plugins/generic/enumeration.py +++ b/plugins/generic/enumeration.py @@ -1034,7 +1034,7 @@ class Enumeration: logger.error(errMsg) bruteForce = True - if bruteForce: + if bruteForce or colList and conf.exact: resumeAvailable = False for tbl in tblList: diff --git a/sqlmap.conf b/sqlmap.conf index 7706c790a..2c39e4aea 100644 --- a/sqlmap.conf +++ b/sqlmap.conf @@ -635,7 +635,7 @@ cleanup = False # Valid: True or False dependencies = False -# Prefer usage of exact names for provided identificators. +# Prefer usage of exactly provided identificator names. # Valid: True or False exact = False