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():
452452 checkNullConnection ()
453453
454454 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-
456455 if not any ((conf .string , conf .notString , conf .regexp )) and PAYLOAD .TECHNIQUE .BOOLEAN in conf .technique :
457456 # NOTE: this is not needed anymore, leaving only to display
458457 # a warning message to the user in case the page is not stable
Original file line number Diff line number Diff line change 2121import tempfile
2222import threading
2323import time
24+ import traceback
2425
2526from lib .controller .checks import checkConnection
2627from lib .core .common import Backend
@@ -921,6 +922,11 @@ def _setPreprocessFunctions():
921922 try :
922923 function (_urllib .request .Request ("http://localhost" ))
923924 except :
925+ tbMsg = traceback .format_exc ()
926+
927+ if conf .debug :
928+ dataToStdout (tbMsg )
929+
924930 handle , filename = tempfile .mkstemp (prefix = MKSTEMP_PREFIX .PREPROCESS , suffix = ".py" )
925931 os .close (handle )
926932
Original file line number Diff line number Diff line change 1818from thirdparty .six import unichr as _unichr
1919
2020# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21- VERSION = "1.4.12.16 "
21+ VERSION = "1.4.12.17 "
2222TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2323TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2424VERSION_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