mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 08:14:24 +03:00
Some more reordering
This commit is contained in:
parent
16866119b8
commit
d2a5548889
|
@ -46,11 +46,11 @@ optDict = {
|
||||||
"timeout": "float",
|
"timeout": "float",
|
||||||
"retries": "integer",
|
"retries": "integer",
|
||||||
"rParam": "string",
|
"rParam": "string",
|
||||||
"scope": "string",
|
|
||||||
"safUrl": "string",
|
"safUrl": "string",
|
||||||
"saFreq": "integer",
|
"saFreq": "integer",
|
||||||
"skipUrlEncode": "boolean",
|
"skipUrlEncode": "boolean",
|
||||||
"forceSSL": "boolean",
|
"forceSSL": "boolean",
|
||||||
|
"hpp": "boolean",
|
||||||
"evalCode": "string",
|
"evalCode": "string",
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -189,6 +189,8 @@ optDict = {
|
||||||
"parseErrors": "boolean",
|
"parseErrors": "boolean",
|
||||||
"pivotColumn": "string",
|
"pivotColumn": "string",
|
||||||
"saveCmdline": "boolean",
|
"saveCmdline": "boolean",
|
||||||
|
"scope": "string",
|
||||||
|
"testFilter": "string",
|
||||||
"updateAll": "boolean",
|
"updateAll": "boolean",
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -202,12 +204,10 @@ optDict = {
|
||||||
"dependencies": "boolean",
|
"dependencies": "boolean",
|
||||||
"disableColoring": "boolean",
|
"disableColoring": "boolean",
|
||||||
"googlePage": "integer",
|
"googlePage": "integer",
|
||||||
"hpp": "boolean",
|
|
||||||
"mobile": "boolean",
|
"mobile": "boolean",
|
||||||
"pageRank": "boolean",
|
"pageRank": "boolean",
|
||||||
"purgeOutput": "boolean",
|
"purgeOutput": "boolean",
|
||||||
"smart": "boolean",
|
"smart": "boolean",
|
||||||
"testFilter": "string",
|
|
||||||
"wizard": "boolean",
|
"wizard": "boolean",
|
||||||
"verbose": "integer",
|
"verbose": "integer",
|
||||||
},
|
},
|
||||||
|
|
|
@ -155,9 +155,6 @@ def cmdLineParser():
|
||||||
request.add_option("--randomize", dest="rParam",
|
request.add_option("--randomize", dest="rParam",
|
||||||
help="Randomly change value for given parameter(s)")
|
help="Randomly change value for given parameter(s)")
|
||||||
|
|
||||||
request.add_option("--scope", dest="scope",
|
|
||||||
help="Regexp to filter targets from provided proxy log")
|
|
||||||
|
|
||||||
request.add_option("--safe-url", dest="safUrl",
|
request.add_option("--safe-url", dest="safUrl",
|
||||||
help="URL address to visit frequently during testing")
|
help="URL address to visit frequently during testing")
|
||||||
|
|
||||||
|
@ -172,6 +169,10 @@ def cmdLineParser():
|
||||||
action="store_true",
|
action="store_true",
|
||||||
help="Force usage of SSL/HTTPS")
|
help="Force usage of SSL/HTTPS")
|
||||||
|
|
||||||
|
request.add_option("--hpp", dest="hpp",
|
||||||
|
action="store_true",
|
||||||
|
help="Use HTTP parameter pollution")
|
||||||
|
|
||||||
request.add_option("--eval", dest="evalCode",
|
request.add_option("--eval", dest="evalCode",
|
||||||
help="Evaluate provided Python code before the request (e.g. \"import hashlib;id2=hashlib.md5(id).hexdigest()\")")
|
help="Evaluate provided Python code before the request (e.g. \"import hashlib;id2=hashlib.md5(id).hexdigest()\")")
|
||||||
|
|
||||||
|
@ -601,6 +602,12 @@ def cmdLineParser():
|
||||||
action="store_true",
|
action="store_true",
|
||||||
help="Save options to a configuration INI file")
|
help="Save options to a configuration INI file")
|
||||||
|
|
||||||
|
general.add_option("--scope", dest="scope",
|
||||||
|
help="Regexp to filter targets from provided proxy log")
|
||||||
|
|
||||||
|
general.add_option("--test-filter", dest="testFilter",
|
||||||
|
help="Select tests by payloads and/or titles (e.g. ROW)")
|
||||||
|
|
||||||
general.add_option("--update", dest="updateAll",
|
general.add_option("--update", dest="updateAll",
|
||||||
action="store_true",
|
action="store_true",
|
||||||
help="Update sqlmap")
|
help="Update sqlmap")
|
||||||
|
@ -640,10 +647,6 @@ def cmdLineParser():
|
||||||
miscellaneous.add_option("--gpage", dest="googlePage", type="int",
|
miscellaneous.add_option("--gpage", dest="googlePage", type="int",
|
||||||
help="Use Google dork results from specified page number")
|
help="Use Google dork results from specified page number")
|
||||||
|
|
||||||
miscellaneous.add_option("--hpp", dest="hpp",
|
|
||||||
action="store_true",
|
|
||||||
help="Use HTTP parameter pollution")
|
|
||||||
|
|
||||||
miscellaneous.add_option("--identify-waf", dest="identifyWaf",
|
miscellaneous.add_option("--identify-waf", dest="identifyWaf",
|
||||||
action="store_true",
|
action="store_true",
|
||||||
help="Make a through testing for a WAF/IPS/IDS protection")
|
help="Make a through testing for a WAF/IPS/IDS protection")
|
||||||
|
@ -664,9 +667,6 @@ def cmdLineParser():
|
||||||
action="store_true",
|
action="store_true",
|
||||||
help="Conduct through tests only if positive heuristic(s)")
|
help="Conduct through tests only if positive heuristic(s)")
|
||||||
|
|
||||||
miscellaneous.add_option("--test-filter", dest="testFilter",
|
|
||||||
help="Select tests by payloads and/or titles (e.g. ROW)")
|
|
||||||
|
|
||||||
miscellaneous.add_option("--wizard", dest="wizard",
|
miscellaneous.add_option("--wizard", dest="wizard",
|
||||||
action="store_true",
|
action="store_true",
|
||||||
help="Simple wizard interface for beginner users")
|
help="Simple wizard interface for beginner users")
|
||||||
|
|
24
sqlmap.conf
24
sqlmap.conf
|
@ -132,11 +132,6 @@ retries = 3
|
||||||
# Randomly change value for the given parameter.
|
# Randomly change value for the given parameter.
|
||||||
rParam =
|
rParam =
|
||||||
|
|
||||||
# Regular expression for filtering targets from provided Burp.
|
|
||||||
# or WebScarab proxy log.
|
|
||||||
# Example: (google|yahoo)
|
|
||||||
scope =
|
|
||||||
|
|
||||||
# URL address to visit frequently during testing.
|
# URL address to visit frequently during testing.
|
||||||
# Example: http://192.168.1.121/index.html
|
# Example: http://192.168.1.121/index.html
|
||||||
safUrl =
|
safUrl =
|
||||||
|
@ -154,6 +149,10 @@ skipUrlEncode = False
|
||||||
# Valid: True or False
|
# Valid: True or False
|
||||||
forceSSL = False
|
forceSSL = False
|
||||||
|
|
||||||
|
# Use HTTP parameter pollution.
|
||||||
|
# Valid: True or False
|
||||||
|
hpp = False
|
||||||
|
|
||||||
# Evaluate provided Python code before the request.
|
# Evaluate provided Python code before the request.
|
||||||
# Example: import hashlib;id2=hashlib.md5(id).hexdigest()
|
# Example: import hashlib;id2=hashlib.md5(id).hexdigest()
|
||||||
evalCode =
|
evalCode =
|
||||||
|
@ -651,6 +650,14 @@ parseErrors = False
|
||||||
# Pivot column name.
|
# Pivot column name.
|
||||||
pivotColumn =
|
pivotColumn =
|
||||||
|
|
||||||
|
# Regular expression for filtering targets from provided Burp.
|
||||||
|
# or WebScarab proxy log.
|
||||||
|
# Example: (google|yahoo)
|
||||||
|
scope =
|
||||||
|
|
||||||
|
# Select tests by payloads and/or titles (e.g. ROW)
|
||||||
|
testFilter =
|
||||||
|
|
||||||
# Update sqlmap.
|
# Update sqlmap.
|
||||||
# Valid: True or False
|
# Valid: True or False
|
||||||
updateAll = False
|
updateAll = False
|
||||||
|
@ -696,10 +703,6 @@ disableColoring = False
|
||||||
# Default: 1
|
# Default: 1
|
||||||
googlePage = 1
|
googlePage = 1
|
||||||
|
|
||||||
# Use HTTP parameter pollution.
|
|
||||||
# Valid: True or False
|
|
||||||
hpp = False
|
|
||||||
|
|
||||||
# Make a through testing for a WAF/IPS/IDS protection.
|
# Make a through testing for a WAF/IPS/IDS protection.
|
||||||
# Valid: True or False
|
# Valid: True or False
|
||||||
identifyWaf = False
|
identifyWaf = False
|
||||||
|
@ -716,9 +719,6 @@ pageRank = False
|
||||||
# Valid: True or False
|
# Valid: True or False
|
||||||
smart = False
|
smart = False
|
||||||
|
|
||||||
# Select tests by payloads and/or titles (e.g. ROW)
|
|
||||||
testFilter =
|
|
||||||
|
|
||||||
# Simple wizard interface for beginner users.
|
# Simple wizard interface for beginner users.
|
||||||
# Valid: True or False
|
# Valid: True or False
|
||||||
wizard = False
|
wizard = False
|
||||||
|
|
Loading…
Reference in New Issue
Block a user