mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13:11:29 +00:00
Some PEP8 related style cleaning
This commit is contained in:
@@ -44,7 +44,7 @@ class Filesystem(GenericFilesystem):
|
||||
for fileLine in xrange(0, len(fileContent), lineLen):
|
||||
scrString = ""
|
||||
|
||||
for lineChar in fileContent[fileLine:fileLine+lineLen]:
|
||||
for lineChar in fileContent[fileLine:fileLine + lineLen]:
|
||||
strLineChar = hexencode(lineChar)
|
||||
|
||||
if not scrString:
|
||||
|
||||
@@ -68,7 +68,7 @@ class Takeover(GenericTakeover):
|
||||
hexStr = binascii.hexlify(self.shellcodeString[:-1])
|
||||
|
||||
for hexPair in xrange(0, len(hexStr), 2):
|
||||
shellcodeChar += "CHAR(0x%s)+" % hexStr[hexPair:hexPair+2]
|
||||
shellcodeChar += "CHAR(0x%s)+" % hexStr[hexPair:hexPair + 2]
|
||||
|
||||
shellcodeChar = shellcodeChar[:-1]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user