File tree Expand file tree Collapse file tree 3 files changed +3
-8
lines changed Expand file tree Collapse file tree 3 files changed +3
-8
lines changed Original file line number Diff line number Diff line change 20
20
from thirdparty .six import unichr as _unichr
21
21
22
22
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23
- VERSION = "1.7.4.6 "
23
+ VERSION = "1.7.4.7 "
24
24
TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
25
25
TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
26
26
VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
Original file line number Diff line number Diff line change 7
7
8
8
from __future__ import division
9
9
10
- import logging
11
10
import time
12
11
13
12
from lib .core .common import Backend
@@ -387,17 +386,13 @@ def fileExistsThread():
387
386
kb .locks .io .release ()
388
387
389
388
try :
390
- pushValue (logger .getEffectiveLevel ())
391
- logger .setLevel (logging .CRITICAL )
392
-
393
389
runThreads (conf .threads , fileExistsThread , threadChoice = True )
394
390
except KeyboardInterrupt :
395
391
warnMsg = "user aborted during file existence "
396
392
warnMsg += "check. sqlmap will display partial output"
397
393
logger .warning (warnMsg )
398
394
finally :
399
395
kb .bruteMode = False
400
- logger .setLevel (popValue ())
401
396
402
397
clearConsoleLine (True )
403
398
dataToStdout ("\n " )
Original file line number Diff line number Diff line change @@ -222,13 +222,13 @@ def readFile(self, remoteFile):
222
222
223
223
if conf .direct or isStackingAvailable ():
224
224
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 "
226
226
debugMsg += "injection technique"
227
227
logger .debug (debugMsg )
228
228
229
229
fileContent = self .stackedReadFile (remoteFile )
230
230
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 "
232
232
debugMsg += "SQL injection technique"
233
233
logger .debug (debugMsg )
234
234
You can’t perform that action at this time.
0 commit comments