File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515from lib .core .data import paths
1616from lib .core .threads import getCurrentThreadData
1717
18- class htmlHandler (ContentHandler ):
18+ class HTMLHandler (ContentHandler ):
1919 """
2020 This class defines methods to parse the input HTML page to
2121 fingerprint the back-end database management system
@@ -50,7 +50,7 @@ def htmlParser(page):
5050
5151 xmlfile = paths .ERRORS_XML
5252 checkFile (xmlfile )
53- handler = htmlHandler (page )
53+ handler = HTMLHandler (page )
5454
5555 parseXmlFile (xmlfile , handler )
5656
Original file line number Diff line number Diff line change 2020from lib .request import inject
2121from lib .takeover .udf import UDF
2222from lib .takeover .web import Web
23- from lib .takeover .xp_cmdshell import xp_cmdshell
23+ from lib .takeover .xp_cmdshell import Xp_cmdshell
2424
2525
26- class Abstraction (Web , UDF , xp_cmdshell ):
26+ class Abstraction (Web , UDF , Xp_cmdshell ):
2727 """
2828 This class defines an abstraction layer for OS takeover functionalities
29- to UDF / xp_cmdshell objects
29+ to UDF / Xp_cmdshell objects
3030 """
3131
3232 def __init__ (self ):
@@ -35,7 +35,7 @@ def __init__(self):
3535
3636 UDF .__init__ (self )
3737 Web .__init__ (self )
38- xp_cmdshell .__init__ (self )
38+ Xp_cmdshell .__init__ (self )
3939
4040 def execCmd (self , cmd , silent = False ):
4141 if self .webBackdoorUrl and not isTechniqueAvailable (PAYLOAD .TECHNIQUE .STACKED ):
Original file line number Diff line number Diff line change 3232from lib .core .threads import getCurrentThreadData
3333from lib .request import inject
3434
35- class xp_cmdshell :
35+ class Xp_cmdshell :
3636 """
3737 This class defines methods to deal with Microsoft SQL Server
3838 xp_cmdshell extended procedure for plugins.
You can’t perform that action at this time.
0 commit comments