mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Fix for an Issue #157
This commit is contained in:
parent
80120e849f
commit
d421f9a618
2 changed files with 3 additions and 1 deletions
|
|
@ -3110,6 +3110,8 @@ def evaluateCode(code, variables=None):
|
|||
|
||||
try:
|
||||
exec(code, variables)
|
||||
except KeyboardInterrupt:
|
||||
raise
|
||||
except Exception, ex:
|
||||
errMsg = "an error occured while evaluating provided code ('%s'). " % ex
|
||||
raise sqlmapGenericException, errMsg
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue