Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit da04911

Browse files
committed
Minor revert
1 parent a1fe9d0 commit da04911

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

plugins/generic/misc.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,14 +156,14 @@ def cleanup(self, onlyFileTbl=False, udfDict=None):
156156

157157
def likeOrExact(self, what):
158158
message = "do you want sqlmap to consider provided %s(s):\n" % what
159-
message += "[1] as LIKE %s names\n" % what
160-
message += "[2] as exact %s names (default)" % what
159+
message += "[1] as LIKE %s names (default)\n" % what
160+
message += "[2] as exact %s names" % what
161161

162-
choice = readInput(message, default="2")
162+
choice = readInput(message, default="1")
163163

164164
if not choice or choice == "1":
165165
choice = "1"
166-
condParam = " LIKE '%%%s%%'" # this doesn't work, neither not sure it ever did
166+
condParam = " LIKE '%%%s%%'"
167167
elif choice.isdigit() and choice == "2":
168168
condParam = "='%s'"
169169
else:

0 commit comments

Comments
 (0)