Layout adjustments

This commit is contained in:
Bernardo Damele 2011-02-06 15:28:23 +00:00
parent a5a648f4fe
commit 2afc1e5021

View File

@ -277,6 +277,8 @@ class Filesystem:
fileContent = self.unionReadFile(rFile) fileContent = self.unionReadFile(rFile)
elif isTechniqueAvailable(PAYLOAD.TECHNIQUE.ERROR) and Backend.isDbms(DBMS.MYSQL): elif isTechniqueAvailable(PAYLOAD.TECHNIQUE.ERROR) and Backend.isDbms(DBMS.MYSQL):
# TODO: edit this as soon as the MySQL/trim/error-based bug
# is fixed
errMsg = "file retrieval via error-based SQL injection will " errMsg = "file retrieval via error-based SQL injection will "
errMsg += "be implemented soon" errMsg += "be implemented soon"
logger.error(errMsg) logger.error(errMsg)
@ -284,8 +286,8 @@ class Filesystem:
return None return None
else: else:
errMsg = "none of the SQL injection techniques detected can " errMsg = "none of the SQL injection techniques detected can "
errMsg += "be used to read files from the file system on " errMsg += "be used to read files from the underlying file "
errMsg += "%s" % Backend.getDbms() errMsg += "system of the back-end %s server" % Backend.getDbms()
logger.error(errMsg) logger.error(errMsg)
return None return None
@ -332,8 +334,8 @@ class Filesystem:
self.unionWriteFile(wFile, dFile, fileType, confirm) self.unionWriteFile(wFile, dFile, fileType, confirm)
else: else:
errMsg = "none of the SQL injection techniques detected can " errMsg = "none of the SQL injection techniques detected can "
errMsg += "be used to write files on the file system on " errMsg += "be used to write files to the underlying file "
errMsg += "%s" % Backend.getDbms() errMsg += "system of the back-end %s server" % Backend.getDbms()
logger.error(errMsg) logger.error(errMsg)
return None return None