mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
Minor revert
This commit is contained in:
parent
a1fe9d07ca
commit
da049110df
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user