Skip to content

Commit 596cf95

Browse files
committed
Minor fix
1 parent 2938ac5 commit 596cf95

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

lib/parse/cmdline.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,6 @@ def cmdLineParser():
5959
target.add_option("-r", dest="requestFile",
6060
help="Load HTTP request from a file")
6161

62-
target.add_option("-s", dest="sessionFile",
63-
help="Load session from a stored (.sqlite) file")
64-
6562
target.add_option("-g", dest="googleDork",
6663
help="Process Google dork results as target URLs")
6764

@@ -523,6 +520,9 @@ def cmdLineParser():
523520
#general.add_option("-x", dest="xmlFile",
524521
# help="Dump the data into an XML file")
525522

523+
general.add_option("-s", dest="sessionFile",
524+
help="Load session from a stored (.sqlite) file")
525+
526526
general.add_option("-t", dest="trafficFile",
527527
help="Log all HTTP traffic into a "
528528
"textual file")

sqlmap.conf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@ logFile =
2222
# Example (file content): POST /login.jsp HTTP/1.1\nHost: example.com\nUser-Agent: Mozilla/4.0\n\nuserid=joe&password=guessme
2323
requestFile =
2424

25-
# Load session from a stored (.sqlite) file
26-
# Example: output/www.target.com/session.sqlite
27-
sessionFile =
28-
2925
# Rather than providing a target URL, let Google return target
3026
# hosts as result of your Google dork expression. For a list of Google
3127
# dorks see Johnny Long Google Hacking Database at
@@ -569,6 +565,10 @@ regType =
569565
# These options can be used to set some general working parameters.
570566
[General]
571567

568+
# Load session from a stored (.sqlite) file
569+
# Example: output/www.target.com/session.sqlite
570+
sessionFile =
571+
572572
# Log all HTTP traffic into a textual file.
573573
trafficFile =
574574

0 commit comments

Comments
 (0)