File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -452,7 +452,6 @@ def start():
452
452
checkNullConnection ()
453
453
454
454
if (len (kb .injections ) == 0 or (len (kb .injections ) == 1 and kb .injections [0 ].place is None )) and (kb .injection .place is None or kb .injection .parameter is None ):
455
-
456
455
if not any ((conf .string , conf .notString , conf .regexp )) and PAYLOAD .TECHNIQUE .BOOLEAN in conf .technique :
457
456
# NOTE: this is not needed anymore, leaving only to display
458
457
# a warning message to the user in case the page is not stable
Original file line number Diff line number Diff line change 21
21
import tempfile
22
22
import threading
23
23
import time
24
+ import traceback
24
25
25
26
from lib .controller .checks import checkConnection
26
27
from lib .core .common import Backend
@@ -921,6 +922,11 @@ def _setPreprocessFunctions():
921
922
try :
922
923
function (_urllib .request .Request ("http://localhost" ))
923
924
except :
925
+ tbMsg = traceback .format_exc ()
926
+
927
+ if conf .debug :
928
+ dataToStdout (tbMsg )
929
+
924
930
handle , filename = tempfile .mkstemp (prefix = MKSTEMP_PREFIX .PREPROCESS , suffix = ".py" )
925
931
os .close (handle )
926
932
Original file line number Diff line number Diff line change 18
18
from thirdparty .six import unichr as _unichr
19
19
20
20
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21
- VERSION = "1.4.12.16 "
21
+ VERSION = "1.4.12.17 "
22
22
TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
23
23
TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
24
24
VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
You can’t perform that action at this time.
0 commit comments