mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-06 16:32:23 +01:00
Minor cosmetics
This commit is contained in:
parent
74294ae105
commit
03da24b249
1 changed files with 2 additions and 2 deletions
|
|
@ -509,7 +509,7 @@ class Databases:
|
||||||
if len(colList) > 0:
|
if len(colList) > 0:
|
||||||
if colTuple:
|
if colTuple:
|
||||||
_, colCondParam = colTuple
|
_, colCondParam = colTuple
|
||||||
infoMsg += "like '%s' " % ", ".join(unsafeSQLIdentificatorNaming(col) for col in sorted(colList))
|
infoMsg += "LIKE '%s' " % ", ".join(unsafeSQLIdentificatorNaming(col) for col in sorted(colList))
|
||||||
else:
|
else:
|
||||||
colCondParam = "='%s'"
|
colCondParam = "='%s'"
|
||||||
infoMsg += "'%s' " % ", ".join(unsafeSQLIdentificatorNaming(col) for col in sorted(colList))
|
infoMsg += "'%s' " % ", ".join(unsafeSQLIdentificatorNaming(col) for col in sorted(colList))
|
||||||
|
|
@ -604,7 +604,7 @@ class Databases:
|
||||||
if len(colList) > 0:
|
if len(colList) > 0:
|
||||||
if colTuple:
|
if colTuple:
|
||||||
_, colCondParam = colTuple
|
_, colCondParam = colTuple
|
||||||
infoMsg += "like '%s' " % ", ".join(unsafeSQLIdentificatorNaming(col) for col in sorted(colList))
|
infoMsg += "LIKE '%s' " % ", ".join(unsafeSQLIdentificatorNaming(col) for col in sorted(colList))
|
||||||
else:
|
else:
|
||||||
colCondParam = "='%s'"
|
colCondParam = "='%s'"
|
||||||
infoMsg += "'%s' " % ", ".join(unsafeSQLIdentificatorNaming(col) for col in sorted(colList))
|
infoMsg += "'%s' " % ", ".join(unsafeSQLIdentificatorNaming(col) for col in sorted(colList))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue