mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-05-01 14:23:44 +03:00
no need to repeat the debug message each time this function is called
This commit is contained in:
parent
646df37884
commit
c9c520a325
|
@ -15,6 +15,7 @@ from lib.core.common import normalizePath
|
||||||
from lib.core.common import ntToPosixSlashes
|
from lib.core.common import ntToPosixSlashes
|
||||||
from lib.core.common import posixToNtSlashes
|
from lib.core.common import posixToNtSlashes
|
||||||
from lib.core.common import readInput
|
from lib.core.common import readInput
|
||||||
|
from lib.core.common import singleTimeDebugMessage
|
||||||
from lib.core.common import unArrayizeValue
|
from lib.core.common import unArrayizeValue
|
||||||
from lib.core.data import conf
|
from lib.core.data import conf
|
||||||
from lib.core.data import kb
|
from lib.core.data import kb
|
||||||
|
@ -69,8 +70,7 @@ class Miscellaneous:
|
||||||
conf.tmpPath = normalizePath(conf.tmpPath)
|
conf.tmpPath = normalizePath(conf.tmpPath)
|
||||||
conf.tmpPath = ntToPosixSlashes(conf.tmpPath)
|
conf.tmpPath = ntToPosixSlashes(conf.tmpPath)
|
||||||
|
|
||||||
debugMsg = "going to use %s as temporary files directory" % conf.tmpPath
|
singleTimeDebugMessage("going to use %s as temporary files directory" % conf.tmpPath)
|
||||||
logger.debug(debugMsg)
|
|
||||||
|
|
||||||
hashDBWrite(HASHDB_KEYS.CONF_TMP_PATH, conf.tmpPath)
|
hashDBWrite(HASHDB_KEYS.CONF_TMP_PATH, conf.tmpPath)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user