From 57412f8475ea823bea2c638f3c399db90908ddd0 Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Tue, 18 Dec 2012 13:55:26 +0000 Subject: [PATCH] default to --search shall stay LIKE --- plugins/generic/misc.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/generic/misc.py b/plugins/generic/misc.py index 9dc88b5b3..2ab1a9cc4 100644 --- a/plugins/generic/misc.py +++ b/plugins/generic/misc.py @@ -177,10 +177,10 @@ 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'