mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Minor bug fix - LEN counts lengths for trimmed strings
This commit is contained in:
parent
52c742458b
commit
354977bb5d
2 changed files with 3 additions and 3 deletions
|
|
@ -164,7 +164,7 @@
|
||||||
|
|
||||||
<dbms value="Microsoft SQL Server">
|
<dbms value="Microsoft SQL Server">
|
||||||
<cast query="CAST(%s AS NVARCHAR(4000))"/>
|
<cast query="CAST(%s AS NVARCHAR(4000))"/>
|
||||||
<length query="LTRIM(STR(LEN(%s)))"/>
|
<length query="LTRIM(STR(LEN(%s+'.')-1))"/>
|
||||||
<isnull query="ISNULL(%s,' ')"/>
|
<isnull query="ISNULL(%s,' ')"/>
|
||||||
<delimiter query="+"/>
|
<delimiter query="+"/>
|
||||||
<limit query="SELECT TOP %d "/>
|
<limit query="SELECT TOP %d "/>
|
||||||
|
|
@ -556,7 +556,7 @@
|
||||||
|
|
||||||
<dbms value="Sybase">
|
<dbms value="Sybase">
|
||||||
<cast query="CONVERT(VARCHAR(4000),%s)"/>
|
<cast query="CONVERT(VARCHAR(4000),%s)"/>
|
||||||
<length query="LTRIM(STR(LEN(%s)))"/>
|
<length query="LTRIM(STR(LEN(%s+'.')-1))"/>
|
||||||
<isnull query="ISNULL(%s,' ')"/>
|
<isnull query="ISNULL(%s,' ')"/>
|
||||||
<delimiter query="+"/>
|
<delimiter query="+"/>
|
||||||
<limit query="SELECT TOP %d "/>
|
<limit query="SELECT TOP %d "/>
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ from lib.core.enums import OS
|
||||||
from thirdparty import six
|
from thirdparty import six
|
||||||
|
|
||||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
||||||
VERSION = "1.10.7.72"
|
VERSION = "1.10.7.73"
|
||||||
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
|
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
|
||||||
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
|
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
|
||||||
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
|
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue