mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-03-03 11:45:46 +03:00
if needed, allow to reinitialize the environment for takeover - issue #396
This commit is contained in:
parent
d91530f885
commit
66cee83ca4
|
@ -171,10 +171,10 @@ class Abstraction(Web, UDF, Xp_cmdshell):
|
|||
# expression = getSQLSnippet(DBMS.PGSQL, "configure_dblink", ENABLE="1")
|
||||
# inject.goStacked(expression)
|
||||
|
||||
def initEnv(self, mandatory=True, detailed=False, web=False):
|
||||
def initEnv(self, mandatory=True, detailed=False, web=False, forceInit=False):
|
||||
self._initRunAs()
|
||||
|
||||
if self.envInitialized:
|
||||
if self.envInitialized and not forceInit:
|
||||
return
|
||||
|
||||
if web:
|
||||
|
|
Loading…
Reference in New Issue
Block a user