mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
changes regarding Feature #160
This commit is contained in:
@@ -42,8 +42,6 @@ from lib.core.exception import sqlmapNotVulnerableException
|
||||
from lib.core.session import setInjection
|
||||
from lib.core.target import initTargetEnv
|
||||
from lib.core.target import setupTargetEnv
|
||||
from lib.core.testing import smokeTest
|
||||
from lib.core.testing import liveTest
|
||||
from lib.utils.parenthesis import checkForParenthesis
|
||||
|
||||
def __selectInjection(injData):
|
||||
@@ -99,16 +97,6 @@ def start():
|
||||
if conf.optimize:
|
||||
conf.useCommonPrediction = conf.useNullConnection = conf.keepAlive = True
|
||||
|
||||
|
||||
if conf.smokeTest:
|
||||
smokeTest()
|
||||
|
||||
if conf.liveTest:
|
||||
liveTest()
|
||||
|
||||
if conf.smokeTest or conf.liveTest:
|
||||
return
|
||||
|
||||
if conf.direct:
|
||||
initTargetEnv()
|
||||
setupTargetEnv()
|
||||
@@ -173,7 +161,7 @@ def start():
|
||||
if conf.useNullConnection:
|
||||
checkNullConnection()
|
||||
|
||||
if not conf.dropSetCookie:
|
||||
if not conf.dropSetCookie and conf.cj:
|
||||
for _, cookie in enumerate(conf.cj):
|
||||
cookie = getUnicode(cookie)
|
||||
index = cookie.index(" for ")
|
||||
|
||||
Reference in New Issue
Block a user