File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -929,7 +929,7 @@ def _setPreprocessFunctions():
929
929
else :
930
930
try :
931
931
function (_urllib .request .Request ("http://localhost" ))
932
- except :
932
+ except Exception as ex :
933
933
tbMsg = traceback .format_exc ()
934
934
935
935
if conf .debug :
@@ -943,8 +943,8 @@ def _setPreprocessFunctions():
943
943
944
944
errMsg = "function 'preprocess(req)' "
945
945
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
948
948
raise SqlmapGenericException (errMsg )
949
949
950
950
def _setPostprocessFunctions ():
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.11.0 "
23
+ VERSION = "1.7.11.1 "
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 )
You can’t perform that action at this time.
0 commit comments