mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
More general approach regarding that last commit
This commit is contained in:
parent
01f1488f07
commit
59b02539ca
2 changed files with 2 additions and 6 deletions
|
|
@ -529,8 +529,9 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
|
|||
elif conf.verbose in (1, 2):
|
||||
dataToStdout(filterControlChars(val))
|
||||
|
||||
# some DBMSes (e.g. Firebird, DB2, etc.) have issues with trailing spaces
|
||||
if len(partialValue) > INFERENCE_BLANK_BREAK and partialValue[-INFERENCE_BLANK_BREAK:].isspace() and partialValue.strip(' ')[-1:] != '\n':
|
||||
finalValue = partialValue
|
||||
finalValue = partialValue[:-INFERENCE_BLANK_BREAK]
|
||||
break
|
||||
|
||||
except KeyboardInterrupt:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue