mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-05-06 16:53:44 +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")
|
# expression = getSQLSnippet(DBMS.PGSQL, "configure_dblink", ENABLE="1")
|
||||||
# inject.goStacked(expression)
|
# 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()
|
self._initRunAs()
|
||||||
|
|
||||||
if self.envInitialized:
|
if self.envInitialized and not forceInit:
|
||||||
return
|
return
|
||||||
|
|
||||||
if web:
|
if web:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user