From dc04fa7f06bb9442af5805337c7fa2c0f3d74c41 Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Sat, 9 Jan 2010 21:08:47 +0000 Subject: [PATCH] Minor layout adjustments --- lib/core/optiondict.py | 2 +- lib/parse/cmdline.py | 6 +++--- sqlmap.conf | 7 ++++--- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/lib/core/optiondict.py b/lib/core/optiondict.py index 68ec7ef7f..ea07a6a25 100644 --- a/lib/core/optiondict.py +++ b/lib/core/optiondict.py @@ -65,7 +65,7 @@ optDict = { "Techniques": { "stackedTest": "boolean", "timeTest": "boolean", - "timesec": "integer", + "timeSec": "integer", "unionTest": "boolean", "uTech": "string", "unionUse": "boolean" diff --git a/lib/parse/cmdline.py b/lib/parse/cmdline.py index e820a866b..7328d6293 100644 --- a/lib/parse/cmdline.py +++ b/lib/parse/cmdline.py @@ -51,7 +51,7 @@ def cmdLineParser(): target.add_option("-u", "--url", dest="url", help="Target url") target.add_option("-l", dest="list", help="Parse targets from Burp " - "or WebScarab logs") + "or WebScarab proxy logs") target.add_option("-g", dest="googleDork", help="Process Google dork results as target urls") @@ -117,9 +117,9 @@ def cmdLineParser(): request.add_option("--retries", dest="retries", type="int", default=3, help="Retries when the connection timeouts " "(default 3)") + request.add_option("--scope", dest="scope", - help="Regex expression for filtering targets " - "from provided Burp or WebScarab log") + help="Regexp to filter targets from provided proxy log") # Injection options injection = OptionGroup(parser, "Injection", "These options can be " diff --git a/sqlmap.conf b/sqlmap.conf index 785f707f9..6091fd1a0 100644 --- a/sqlmap.conf +++ b/sqlmap.conf @@ -95,9 +95,10 @@ timeout = 30 # Default: 3 retries = 3 -# Regex expression for filtering targets -# from provided Burp or WebScarab log (e.g. (google|yahoo)) -scope = None +# Regular expression for filtering targets from provided Burp +# or WebScarab proxy log. +# Example: (google|yahoo) +scope = [Injection]