From 7cad3cbda677c1249db1bfaee663bac53d489ee4 Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Mon, 28 Jun 2010 13:47:20 +0000 Subject: [PATCH] Minor code refactoring --- doc/ChangeLog | 4 ++-- lib/core/common.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/ChangeLog b/doc/ChangeLog index a5b60eb6e..b0e01a7ee 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -8,14 +8,14 @@ sqlmap (0.9-1) stable; urgency=low * Extended old '--dump -C' functionality to be able to search for specific database(s), table(s) and column(s), --search switch (Bernardo). - * Added support to fetch unicode data (Miroslav). + * Added support to fetch unicode data (Bernardo and Miroslav). * Added safe URL feature, --safe-url and --safe-freq (Miroslav). * Added --use-between switch to use BETWEEN syntax in inferencial statement and bypass firewalls filtering '>' character (Bernardo and Miroslav). * Support for customizable HTTP redirections (Bernardo). * Several bugs fixed (Bernardo and Miroslav). - * Major code refactoring (Bernardo). + * Major code refactoring (Bernardo and Miroslav). * User's manual updated (Bernardo). -- Bernardo Damele A. G. Day, DD MMM 2010 10:00:00 +0000 diff --git a/lib/core/common.py b/lib/core/common.py index 11a1a90c6..25010b7af 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -1221,10 +1221,10 @@ def initCommonOutputs(): key = line[1:-1] elif key: if key not in kb.commonOutputs: - kb.commonOutputs[key] = [] + kb.commonOutputs[key] = set() if line not in kb.commonOutputs[key]: - kb.commonOutputs[key].append(line) + kb.commonOutputs[key].add(line) cfile.close()