From 64bb480414f093cea2aa4f38355e5c5ae96f8dc9 Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Sat, 30 Apr 2011 23:20:16 +0000 Subject: [PATCH] Do not raise otherwise it won't work with --schema --- plugins/generic/enumeration.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/generic/enumeration.py b/plugins/generic/enumeration.py index 662a52867..52616920b 100644 --- a/plugins/generic/enumeration.py +++ b/plugins/generic/enumeration.py @@ -1130,7 +1130,9 @@ class Enumeration: errMsg = "unable to retrieve the number of columns " errMsg += "for table '%s' " % tbl errMsg += "on database '%s'" % conf.db - raise sqlmapNoneDataException, errMsg + logger.error(errMsg) + + continue table = {} columns = {} @@ -1194,7 +1196,7 @@ class Enumeration: if not kb.data.cachedColumns: errMsg = "unable to retrieve the columns for any " errMsg += "table on database '%s'" % conf.db - raise sqlmapNoneDataException, errMsg + logger.error(errMsg) return kb.data.cachedColumns