minor cosmetic update

This commit is contained in:
Miroslav Stampar 2010-03-15 11:55:13 +00:00
parent a0ec447b7d
commit 8af7d6c58b
2 changed files with 4 additions and 4 deletions

View File

@ -37,8 +37,8 @@ from lib.core.data import kb
from lib.core.data import logger
from lib.core.exception import sqlmapNotVulnerableException
from lib.core.session import setInjection
from lib.core.target import createTargetDirs
from lib.core.target import initTargetEnv, setupTargetEnv
from lib.core.target import initTargetEnv
from lib.core.target import setupTargetEnv
from lib.utils.parenthesis import checkForParenthesis
def __selectInjection(injData):
@ -136,7 +136,6 @@ def start():
initTargetEnv()
parseTargetUrl()
createTargetDirs()
setupTargetEnv()
if not checkConnection() or not checkString() or not checkRegexp():

View File

@ -194,7 +194,7 @@ def __createDumpDir():
if not os.path.isdir(conf.dumpPath):
os.makedirs(conf.dumpPath, 0755)
def createTargetDirs():
def __createTargetDirs():
"""
Create the output directory.
"""
@ -232,5 +232,6 @@ def initTargetEnv():
kb.unionPosition = None
def setupTargetEnv():
__createTargetDirs()
__setRequestParams()
__setOutputResume()