Minor code refactoring

This commit is contained in:
Bernardo Damele 2010-06-28 13:47:20 +00:00
parent 9ea72f9640
commit 7cad3cbda6
2 changed files with 4 additions and 4 deletions

View File

@ -8,14 +8,14 @@ sqlmap (0.9-1) stable; urgency=low
* Extended old '--dump -C' functionality to be able to search for * Extended old '--dump -C' functionality to be able to search for
specific database(s), table(s) and column(s), --search switch specific database(s), table(s) and column(s), --search switch
(Bernardo). (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 safe URL feature, --safe-url and --safe-freq (Miroslav).
* Added --use-between switch to use BETWEEN syntax in inferencial * Added --use-between switch to use BETWEEN syntax in inferencial
statement and bypass firewalls filtering '>' character (Bernardo and statement and bypass firewalls filtering '>' character (Bernardo and
Miroslav). Miroslav).
* Support for customizable HTTP redirections (Bernardo). * Support for customizable HTTP redirections (Bernardo).
* Several bugs fixed (Bernardo and Miroslav). * Several bugs fixed (Bernardo and Miroslav).
* Major code refactoring (Bernardo). * Major code refactoring (Bernardo and Miroslav).
* User's manual updated (Bernardo). * User's manual updated (Bernardo).
-- Bernardo Damele A. G. <bernardo.damele@gmail.com> Day, DD MMM 2010 10:00:00 +0000 -- Bernardo Damele A. G. <bernardo.damele@gmail.com> Day, DD MMM 2010 10:00:00 +0000

View File

@ -1221,10 +1221,10 @@ def initCommonOutputs():
key = line[1:-1] key = line[1:-1]
elif key: elif key:
if key not in kb.commonOutputs: if key not in kb.commonOutputs:
kb.commonOutputs[key] = [] kb.commonOutputs[key] = set()
if line not in kb.commonOutputs[key]: if line not in kb.commonOutputs[key]:
kb.commonOutputs[key].append(line) kb.commonOutputs[key].add(line)
cfile.close() cfile.close()