Minor style update (capitalization of leftover class names)

This commit is contained in:
Miroslav Stampar 2012-12-06 13:46:24 +01:00
parent bb397f3907
commit 003d21e962
3 changed files with 7 additions and 7 deletions

View File

@ -15,7 +15,7 @@ from lib.core.data import kb
from lib.core.data import paths from lib.core.data import paths
from lib.core.threads import getCurrentThreadData from lib.core.threads import getCurrentThreadData
class htmlHandler(ContentHandler): class HTMLHandler(ContentHandler):
""" """
This class defines methods to parse the input HTML page to This class defines methods to parse the input HTML page to
fingerprint the back-end database management system fingerprint the back-end database management system
@ -50,7 +50,7 @@ def htmlParser(page):
xmlfile = paths.ERRORS_XML xmlfile = paths.ERRORS_XML
checkFile(xmlfile) checkFile(xmlfile)
handler = htmlHandler(page) handler = HTMLHandler(page)
parseXmlFile(xmlfile, handler) parseXmlFile(xmlfile, handler)

View File

@ -20,13 +20,13 @@ from lib.core.shell import autoCompletion
from lib.request import inject from lib.request import inject
from lib.takeover.udf import UDF from lib.takeover.udf import UDF
from lib.takeover.web import Web from lib.takeover.web import Web
from lib.takeover.xp_cmdshell import xp_cmdshell from lib.takeover.xp_cmdshell import Xp_cmdshell
class Abstraction(Web, UDF, xp_cmdshell): class Abstraction(Web, UDF, Xp_cmdshell):
""" """
This class defines an abstraction layer for OS takeover functionalities This class defines an abstraction layer for OS takeover functionalities
to UDF / xp_cmdshell objects to UDF / Xp_cmdshell objects
""" """
def __init__(self): def __init__(self):
@ -35,7 +35,7 @@ class Abstraction(Web, UDF, xp_cmdshell):
UDF.__init__(self) UDF.__init__(self)
Web.__init__(self) Web.__init__(self)
xp_cmdshell.__init__(self) Xp_cmdshell.__init__(self)
def execCmd(self, cmd, silent=False): def execCmd(self, cmd, silent=False):
if self.webBackdoorUrl and not isTechniqueAvailable(PAYLOAD.TECHNIQUE.STACKED): if self.webBackdoorUrl and not isTechniqueAvailable(PAYLOAD.TECHNIQUE.STACKED):

View File

@ -32,7 +32,7 @@ from lib.core.exception import sqlmapUnsupportedFeatureException
from lib.core.threads import getCurrentThreadData from lib.core.threads import getCurrentThreadData
from lib.request import inject from lib.request import inject
class xp_cmdshell: class Xp_cmdshell:
""" """
This class defines methods to deal with Microsoft SQL Server This class defines methods to deal with Microsoft SQL Server
xp_cmdshell extended procedure for plugins. xp_cmdshell extended procedure for plugins.