mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 00:04:23 +03:00
Minor renaming
This commit is contained in:
parent
9bc24cea6b
commit
dbbca16c69
|
@ -307,15 +307,15 @@ class Backend:
|
|||
|
||||
@staticmethod
|
||||
def forceDbms(dbms, sticky=False):
|
||||
if not kb.stickyFlag:
|
||||
if not kb.stickyDBMS:
|
||||
kb.forcedDbms = aliasToDbmsEnum(dbms)
|
||||
kb.stickyFlag = sticky
|
||||
kb.stickyDBMS = sticky
|
||||
|
||||
@staticmethod
|
||||
def flushForcedDbms(force=False):
|
||||
if not kb.stickyFlag or force:
|
||||
if not kb.stickyDBMS or force:
|
||||
kb.forcedDbms = None
|
||||
kb.stickyFlag = False
|
||||
kb.stickyDBMS = False
|
||||
|
||||
@staticmethod
|
||||
def setOs(os):
|
||||
|
|
|
@ -1509,7 +1509,7 @@ def __setKnowledgeBaseAttributes(flushAll=True):
|
|||
kb.safeCharEncode = False
|
||||
kb.singleLogFlags = set()
|
||||
kb.skipOthersDbms = None
|
||||
kb.stickyFlag = False
|
||||
kb.stickyDBMS = False
|
||||
kb.stickyLevel = None
|
||||
kb.suppressResumeInfo = False
|
||||
kb.technique = None
|
||||
|
|
Loading…
Reference in New Issue
Block a user