From da049110df566d422645c7714f03640ea5118ee4 Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Mon, 4 Jul 2011 15:23:05 +0000 Subject: [PATCH] Minor revert --- plugins/generic/misc.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/generic/misc.py b/plugins/generic/misc.py index bd118a698..c8c6edc64 100644 --- a/plugins/generic/misc.py +++ b/plugins/generic/misc.py @@ -156,14 +156,14 @@ class Miscellaneous: def likeOrExact(self, what): message = "do you want sqlmap to consider provided %s(s):\n" % what - message += "[1] as LIKE %s names\n" % what - message += "[2] as exact %s names (default)" % what + message += "[1] as LIKE %s names (default)\n" % what + message += "[2] as exact %s names" % what - choice = readInput(message, default="2") + choice = readInput(message, default="1") if not choice or choice == "1": choice = "1" - condParam = " LIKE '%%%s%%'" # this doesn't work, neither not sure it ever did + condParam = " LIKE '%%%s%%'" elif choice.isdigit() and choice == "2": condParam = "='%s'" else: