From 428612b431221b4ba4a5becf6d30954d9780dd5e Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Mon, 1 Dec 2008 23:04:01 +0000 Subject: [PATCH] Comment and layout adjustments --- lib/controller/controller.py | 1 - lib/parse/configfile.py | 1 - lib/request/connect.py | 1 + xml/queries.xml | 3 +-- 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/controller/controller.py b/lib/controller/controller.py index bc7ad8e54..6a3751e0b 100644 --- a/lib/controller/controller.py +++ b/lib/controller/controller.py @@ -246,7 +246,6 @@ def start(): kb.injPlace, kb.injParameter, kb.injType = injDataSelected setInjection() - print kb.injPlace, kb.injParameter, kb.injType if not conf.multipleTargets and ( not kb.injPlace or not kb.injParameter or not kb.injType ): raise sqlmapNotVulnerableException, "all parameters are not injectable" elif kb.injPlace and kb.injParameter and kb.injType: diff --git a/lib/parse/configfile.py b/lib/parse/configfile.py index 8d0d37540..0d2b7b066 100644 --- a/lib/parse/configfile.py +++ b/lib/parse/configfile.py @@ -87,7 +87,6 @@ def configFileParser(configFile): errMsg += "file (url or googleDork)" raise sqlmapMissingMandatoryOptionException, errMsg - for family, optionData in optDict.items(): for option, data in optionData.items(): boolean = False diff --git a/lib/request/connect.py b/lib/request/connect.py index d26ad95af..d7b68b7e8 100644 --- a/lib/request/connect.py +++ b/lib/request/connect.py @@ -254,6 +254,7 @@ class Connect: page = Connect.getPage(get=get, post=post, cookie=cookie, ua=ua) + # TODO: create a comparison library and move these checks there if content: return page elif conf.string: diff --git a/xml/queries.xml b/xml/queries.xml index 7062e62b4..d42fc480f 100644 --- a/xml/queries.xml +++ b/xml/queries.xml @@ -16,8 +16,7 @@