File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -929,7 +929,7 @@ def _setPreprocessFunctions():
929929 else :
930930 try :
931931 function (_urllib .request .Request ("http://localhost" ))
932- except :
932+ except Exception as ex :
933933 tbMsg = traceback .format_exc ()
934934
935935 if conf .debug :
@@ -943,8 +943,8 @@ def _setPreprocessFunctions():
943943
944944 errMsg = "function 'preprocess(req)' "
945945 errMsg += "in preprocess script '%s' " % script
946- errMsg += "appears to be invalid "
947- errMsg += "(Note: find template script at '%s') " % filename
946+ errMsg += "had issues in a test run ('%s'). " % getSafeExString ( ex )
947+ errMsg += "You can find a template script at '%s'" % filename
948948 raise SqlmapGenericException (errMsg )
949949
950950def _setPostprocessFunctions ():
Original file line number Diff line number Diff line change 2020from thirdparty .six import unichr as _unichr
2121
2222# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23- VERSION = "1.7.11.0 "
23+ VERSION = "1.7.11.1 "
2424TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2525TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2626VERSION_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