Skip to content

Commit 60bb973

Browse files
committed
Update related to #5389
1 parent 0fba9b1 commit 60bb973

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from thirdparty.six import unichr as _unichr
2121

2222
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23-
VERSION = "1.7.4.6"
23+
VERSION = "1.7.4.7"
2424
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2525
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2626
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

lib/utils/brute.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
from __future__ import division
99

10-
import logging
1110
import time
1211

1312
from lib.core.common import Backend
@@ -387,17 +386,13 @@ def fileExistsThread():
387386
kb.locks.io.release()
388387

389388
try:
390-
pushValue(logger.getEffectiveLevel())
391-
logger.setLevel(logging.CRITICAL)
392-
393389
runThreads(conf.threads, fileExistsThread, threadChoice=True)
394390
except KeyboardInterrupt:
395391
warnMsg = "user aborted during file existence "
396392
warnMsg += "check. sqlmap will display partial output"
397393
logger.warning(warnMsg)
398394
finally:
399395
kb.bruteMode = False
400-
logger.setLevel(popValue())
401396

402397
clearConsoleLine(True)
403398
dataToStdout("\n")

plugins/generic/filesystem.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,13 +222,13 @@ def readFile(self, remoteFile):
222222

223223
if conf.direct or isStackingAvailable():
224224
if isStackingAvailable():
225-
debugMsg = "going to read the file with stacked query SQL "
225+
debugMsg = "going to try to read the file with stacked query SQL "
226226
debugMsg += "injection technique"
227227
logger.debug(debugMsg)
228228

229229
fileContent = self.stackedReadFile(remoteFile)
230230
elif Backend.isDbms(DBMS.MYSQL):
231-
debugMsg = "going to read the file with a non-stacked query "
231+
debugMsg = "going to try to read the file with non-stacked query "
232232
debugMsg += "SQL injection technique"
233233
logger.debug(debugMsg)
234234

0 commit comments

Comments
 (0)