Changing testing payload for MsSQL (BINARY_CHECKSUM seems to be blocked in some cases)

This commit is contained in:
Miroslav Stampar 2013-12-04 11:32:42 +01:00
parent b0ca34ff27
commit b7244a07cb

View File

@ -84,7 +84,7 @@ class Fingerprint(GenericFingerprint):
if conf.direct:
result = True
else:
result = inject.checkBooleanExpression("BINARY_CHECKSUM([RANDNUM])=BINARY_CHECKSUM([RANDNUM])")
result = inject.checkBooleanExpression("SQUARE([RANDNUM])=SQUARE([RANDNUM])")
if result:
infoMsg = "confirming %s" % DBMS.MSSQL