From 596cf95040449e785eeb12fb0586e555979306cb Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 15 Mar 2013 17:22:33 +0100 Subject: [PATCH] Minor fix --- lib/parse/cmdline.py | 6 +++--- sqlmap.conf | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/parse/cmdline.py b/lib/parse/cmdline.py index cc4c26aed..13d2b17d9 100644 --- a/lib/parse/cmdline.py +++ b/lib/parse/cmdline.py @@ -59,9 +59,6 @@ def cmdLineParser(): target.add_option("-r", dest="requestFile", help="Load HTTP request from a file") - target.add_option("-s", dest="sessionFile", - help="Load session from a stored (.sqlite) file") - target.add_option("-g", dest="googleDork", help="Process Google dork results as target URLs") @@ -523,6 +520,9 @@ def cmdLineParser(): #general.add_option("-x", dest="xmlFile", # help="Dump the data into an XML file") + general.add_option("-s", dest="sessionFile", + help="Load session from a stored (.sqlite) file") + general.add_option("-t", dest="trafficFile", help="Log all HTTP traffic into a " "textual file") diff --git a/sqlmap.conf b/sqlmap.conf index ed40e0b15..ce87a5d58 100644 --- a/sqlmap.conf +++ b/sqlmap.conf @@ -22,10 +22,6 @@ logFile = # Example (file content): POST /login.jsp HTTP/1.1\nHost: example.com\nUser-Agent: Mozilla/4.0\n\nuserid=joe&password=guessme requestFile = -# Load session from a stored (.sqlite) file -# Example: output/www.target.com/session.sqlite -sessionFile = - # Rather than providing a target URL, let Google return target # hosts as result of your Google dork expression. For a list of Google # dorks see Johnny Long Google Hacking Database at @@ -569,6 +565,10 @@ regType = # These options can be used to set some general working parameters. [General] +# Load session from a stored (.sqlite) file +# Example: output/www.target.com/session.sqlite +sessionFile = + # Log all HTTP traffic into a textual file. trafficFile =