mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
some minor range to xrange conversion (where safe to do)
This commit is contained in:
@@ -74,7 +74,7 @@ class Fingerprint(GenericFingerprint):
|
||||
if index >= 0:
|
||||
prevVer = None
|
||||
|
||||
for version in range(versions[index][0], versions[index][1] + 1):
|
||||
for version in xrange(versions[index][0], versions[index][1] + 1):
|
||||
randInt = randomInt()
|
||||
version = getUnicode(version)
|
||||
result = inject.checkBooleanExpression("%d=%d/*!%s AND %d=%d*/" % (randInt, randInt, version, randInt, randInt + 1))
|
||||
|
||||
Reference in New Issue
Block a user