From d8bacc904e2376d930fb2f2d900029ebd990812c Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 1 Apr 2014 16:38:50 +0200 Subject: [PATCH] Minor language update --- lib/parse/cmdline.py | 28 ++++++++++++++-------------- sqlmap.conf | 8 ++++---- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/lib/parse/cmdline.py b/lib/parse/cmdline.py index e51ea64ee..473f86e72 100644 --- a/lib/parse/cmdline.py +++ b/lib/parse/cmdline.py @@ -53,18 +53,18 @@ def cmdLineParser(): # Target options target = OptionGroup(parser, "Target", "At least one of these " - "options has to be provided to set the target(s)") + "options has to be provided to define the target(s)") - target.add_option("-d", dest="direct", help="Direct " - "connection to the database") + target.add_option("-d", dest="direct", help="Connection string " + "for direct database connection") - target.add_option("-u", "--url", dest="url", help="Target URL (e.g. \"www.target.com/vuln.php?id=1\")") + target.add_option("-u", "--url", dest="url", help="Target URL (e.g. \"http://www.site.com/vuln.php?id=1\")") - target.add_option("-l", dest="logFile", help="Parse targets from Burp " - "or WebScarab proxy logs") + target.add_option("-l", dest="logFile", help="Parse target(s) from Burp " + "or WebScarab proxy log file") - target.add_option("-m", dest="bulkFile", help="Scan multiple targets enlisted " - "in a given textual file ") + target.add_option("-m", dest="bulkFile", help="Scan multiple targets given " + "in a textual file ") target.add_option("-r", dest="requestFile", help="Load HTTP request from a file") @@ -86,7 +86,7 @@ def cmdLineParser(): help="Character used for splitting parameter values") request.add_option("--cookie", dest="cookie", - help="HTTP Cookie header") + help="HTTP Cookie header value") request.add_option("--cookie-del", dest="cDel", help="Character used for splitting cookie values") @@ -99,17 +99,17 @@ def cmdLineParser(): help="Ignore Set-Cookie header from response") request.add_option("--user-agent", dest="agent", - help="HTTP User-Agent header") + help="HTTP User-Agent header value") request.add_option("--random-agent", dest="randomAgent", action="store_true", - help="Use randomly selected HTTP User-Agent header") + help="Use randomly selected HTTP User-Agent header value") request.add_option("--host", dest="host", - help="HTTP Host header") + help="HTTP Host header value") request.add_option("--referer", dest="referer", - help="HTTP Referer header") + help="HTTP Referer header value") request.add_option("--headers", dest="headers", help="Extra headers (e.g. \"Accept-Language: fr\\nETag: 123\")") @@ -182,7 +182,7 @@ def cmdLineParser(): request.add_option("--hpp", dest="hpp", action="store_true", - help="Use HTTP parameter pollution") + help="Use HTTP parameter pollution method") request.add_option("--eval", dest="evalCode", help="Evaluate provided Python code before the request (e.g. \"import hashlib;id2=hashlib.md5(id).hexdigest()\")") diff --git a/sqlmap.conf b/sqlmap.conf index 974313b2d..3f1288480 100644 --- a/sqlmap.conf +++ b/sqlmap.conf @@ -42,7 +42,7 @@ data = # Character used for splitting parameter values pDel = -# HTTP Cookie header. +# HTTP Cookie header value. cookie = # Character used for splitting cookie values @@ -55,16 +55,16 @@ loadCookies = # Valid: True or False dropSetCookie = False -# HTTP User-Agent header. Useful to fake the HTTP User-Agent header value +# HTTP User-Agent header value. Useful to fake the HTTP User-Agent header value # at each HTTP request # sqlmap will also test for SQL injection on the HTTP User-Agent value. agent = -# Use randomly selected HTTP User-Agent header +# Use randomly selected HTTP User-Agent header value # Valid: True or False randomAgent = False -# HTTP Host header. +# HTTP Host header value. host = # HTTP Referer header. Useful to fake the HTTP Referer header value at