default to --search shall stay LIKE

This commit is contained in:
Bernardo Damele 2012-12-18 13:55:26 +00:00
parent 3fa05374bd
commit 57412f8475

View File

@ -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'