mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
minor cosmetic update
This commit is contained in:
parent
a0ec447b7d
commit
8af7d6c58b
|
@ -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():
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user