mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-16 19:40:37 +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.data import logger
|
||||||
from lib.core.exception import sqlmapNotVulnerableException
|
from lib.core.exception import sqlmapNotVulnerableException
|
||||||
from lib.core.session import setInjection
|
from lib.core.session import setInjection
|
||||||
from lib.core.target import createTargetDirs
|
from lib.core.target import initTargetEnv
|
||||||
from lib.core.target import initTargetEnv, setupTargetEnv
|
from lib.core.target import setupTargetEnv
|
||||||
from lib.utils.parenthesis import checkForParenthesis
|
from lib.utils.parenthesis import checkForParenthesis
|
||||||
|
|
||||||
def __selectInjection(injData):
|
def __selectInjection(injData):
|
||||||
|
@ -136,7 +136,6 @@ def start():
|
||||||
|
|
||||||
initTargetEnv()
|
initTargetEnv()
|
||||||
parseTargetUrl()
|
parseTargetUrl()
|
||||||
createTargetDirs()
|
|
||||||
setupTargetEnv()
|
setupTargetEnv()
|
||||||
|
|
||||||
if not checkConnection() or not checkString() or not checkRegexp():
|
if not checkConnection() or not checkString() or not checkRegexp():
|
||||||
|
|
|
@ -194,7 +194,7 @@ def __createDumpDir():
|
||||||
if not os.path.isdir(conf.dumpPath):
|
if not os.path.isdir(conf.dumpPath):
|
||||||
os.makedirs(conf.dumpPath, 0755)
|
os.makedirs(conf.dumpPath, 0755)
|
||||||
|
|
||||||
def createTargetDirs():
|
def __createTargetDirs():
|
||||||
"""
|
"""
|
||||||
Create the output directory.
|
Create the output directory.
|
||||||
"""
|
"""
|
||||||
|
@ -232,5 +232,6 @@ def initTargetEnv():
|
||||||
kb.unionPosition = None
|
kb.unionPosition = None
|
||||||
|
|
||||||
def setupTargetEnv():
|
def setupTargetEnv():
|
||||||
|
__createTargetDirs()
|
||||||
__setRequestParams()
|
__setRequestParams()
|
||||||
__setOutputResume()
|
__setOutputResume()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user