File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -337,12 +337,17 @@ def dumpTable(self, foundData=None):
337337 kb .data .dumpedTable ["__infos__" ] = {"count" : entriesCount ,
338338 "table" : safeSQLIdentificatorNaming (tbl , True ),
339339 "db" : safeSQLIdentificatorNaming (conf .db )}
340- attackDumpedTable ()
340+ try :
341+ attackDumpedTable ()
342+ except Exception , ex :
343+ errMsg = "an error occurred while attacking "
344+ errMsg += "table dump ('%s')" % ex
345+ logger .critical (errMsg )
341346 conf .dumper .dbTableValues (kb .data .dumpedTable )
342347
343- except SqlmapConnectionException , e :
344- errMsg = "connection exception detected in dumping phase: "
345- errMsg += "'%s'" % e
348+ except SqlmapConnectionException , ex :
349+ errMsg = "connection exception detected in dumping phase "
350+ errMsg += "( '%s') " % ex
346351 logger .critical (errMsg )
347352
348353 finally :
You can’t perform that action at this time.
0 commit comments