mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13:11:29 +00:00
some minor range to xrange conversion (where safe to do)
This commit is contained in:
@@ -75,7 +75,7 @@ class Filesystem:
|
||||
fileLines.append("%x" % fileSize)
|
||||
fileLines.append("f 0100 %x 00" % fileSize)
|
||||
|
||||
for fileLine in range(0, len(binaryData), lineLen):
|
||||
for fileLine in xrange(0, len(binaryData), lineLen):
|
||||
scrString = ""
|
||||
|
||||
for lineChar in binaryData[fileLine:fileLine+lineLen]:
|
||||
@@ -168,7 +168,7 @@ class Filesystem:
|
||||
fcLength = len(fcEncodedStr)
|
||||
|
||||
if fcLength > 256:
|
||||
for i in range(0, fcLength, 256):
|
||||
for i in xrange(0, fcLength, 256):
|
||||
string = ""
|
||||
|
||||
if encoding == "hex":
|
||||
|
||||
Reference in New Issue
Block a user