mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-06 16:32:23 +01:00
if needed, allow to reinitialize the environment for takeover - issue #396
This commit is contained in:
parent
d91530f885
commit
66cee83ca4
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue