Cosmetic fix

This commit is contained in:
Bernardo Damele 2010-10-16 22:31:16 +00:00
parent cfa5655150
commit 6211915da5
3 changed files with 4 additions and 4 deletions

View File

@ -32,7 +32,7 @@ from lib.core.exception import sqlmapUserQuitException
from lib.core.session import setInjection from lib.core.session import setInjection
from lib.core.target import initTargetEnv from lib.core.target import initTargetEnv
from lib.core.target import setupTargetEnv from lib.core.target import setupTargetEnv
from lib.core.target import __findPageForms from lib.core.target import findPageForms
from lib.utils.parenthesis import checkForParenthesis from lib.utils.parenthesis import checkForParenthesis
def __selectInjection(injData): def __selectInjection(injData):
@ -93,7 +93,7 @@ def start():
if conf.url: if conf.url:
if conf.forms: if conf.forms:
__findPageForms() findPageForms()
else: else:
kb.targetUrls.add(( conf.url, conf.method, conf.data, conf.cookie )) kb.targetUrls.add(( conf.url, conf.method, conf.data, conf.cookie ))

View File

@ -121,7 +121,7 @@ def __setRequestParams():
errMsg += "within the GET, POST and Cookie parameters" errMsg += "within the GET, POST and Cookie parameters"
raise sqlmapGenericException, errMsg raise sqlmapGenericException, errMsg
def __findPageForms(): def findPageForms():
infoMsg = "searching for forms" infoMsg = "searching for forms"
logger.info(infoMsg) logger.info(infoMsg)

View File

@ -198,7 +198,7 @@ def cmdLineParser():
help="Compare pages based only on their textual content") help="Compare pages based only on their textual content")
injection.add_option("--tamper", dest="tamper", injection.add_option("--tamper", dest="tamper",
help="Use given module(s) for tampering injection data") help="Use given script(s) for tampering injection data")
# Techniques options # Techniques options
techniques = OptionGroup(parser, "Techniques", "These options can " techniques = OptionGroup(parser, "Techniques", "These options can "