mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 05:04:11 +03:00
Minor style update (capitalization of leftover class names)
This commit is contained in:
parent
bb397f3907
commit
003d21e962
|
@ -15,7 +15,7 @@ from lib.core.data import kb
|
|||
from lib.core.data import paths
|
||||
from lib.core.threads import getCurrentThreadData
|
||||
|
||||
class htmlHandler(ContentHandler):
|
||||
class HTMLHandler(ContentHandler):
|
||||
"""
|
||||
This class defines methods to parse the input HTML page to
|
||||
fingerprint the back-end database management system
|
||||
|
@ -50,7 +50,7 @@ def htmlParser(page):
|
|||
|
||||
xmlfile = paths.ERRORS_XML
|
||||
checkFile(xmlfile)
|
||||
handler = htmlHandler(page)
|
||||
handler = HTMLHandler(page)
|
||||
|
||||
parseXmlFile(xmlfile, handler)
|
||||
|
||||
|
|
|
@ -20,13 +20,13 @@ from lib.core.shell import autoCompletion
|
|||
from lib.request import inject
|
||||
from lib.takeover.udf import UDF
|
||||
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
|
||||
to UDF / xp_cmdshell objects
|
||||
to UDF / Xp_cmdshell objects
|
||||
"""
|
||||
|
||||
def __init__(self):
|
||||
|
@ -35,7 +35,7 @@ class Abstraction(Web, UDF, xp_cmdshell):
|
|||
|
||||
UDF.__init__(self)
|
||||
Web.__init__(self)
|
||||
xp_cmdshell.__init__(self)
|
||||
Xp_cmdshell.__init__(self)
|
||||
|
||||
def execCmd(self, cmd, silent=False):
|
||||
if self.webBackdoorUrl and not isTechniqueAvailable(PAYLOAD.TECHNIQUE.STACKED):
|
||||
|
|
|
@ -32,7 +32,7 @@ from lib.core.exception import sqlmapUnsupportedFeatureException
|
|||
from lib.core.threads import getCurrentThreadData
|
||||
from lib.request import inject
|
||||
|
||||
class xp_cmdshell:
|
||||
class Xp_cmdshell:
|
||||
"""
|
||||
This class defines methods to deal with Microsoft SQL Server
|
||||
xp_cmdshell extended procedure for plugins.
|
||||
|
|
Loading…
Reference in New Issue
Block a user