mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
several MySQL fixes/enhancements pointed out by Anton Mogilin
This commit is contained in:
parent
52f910f752
commit
aa931efd4d
4 changed files with 10 additions and 10 deletions
|
|
@ -51,7 +51,7 @@ def errorUse(expression):
|
|||
nulledCastedField = agent.nullAndCastField(fieldToCastStr)
|
||||
|
||||
if kb.dbms == "MySQL":
|
||||
nulledCastedField = nulledCastedField.replace("CHAR(10000)", "CHAR(255)") #fix for that 'Subquery returns more than 1 row'
|
||||
nulledCastedField = nulledCastedField.replace("AS CHAR)", "AS CHAR(255))") #fix for that 'Subquery returns more than 1 row'
|
||||
|
||||
expressionReplaced = expression.replace(fieldToCastStr, nulledCastedField, 1)
|
||||
expressionUnescaped = unescaper.unescape(expressionReplaced)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue