diff --git a/lib/core/optiondict.py b/lib/core/optiondict.py index 712250123..01615f322 100644 --- a/lib/core/optiondict.py +++ b/lib/core/optiondict.py @@ -59,6 +59,7 @@ optDict = { "Injection": { "testParameter": "string", + "skip": "string", "dbms": "string", "os": "string", "invalidBignum": "boolean", @@ -67,7 +68,6 @@ optDict = { "noEscape": "boolean", "prefix": "string", "suffix": "string", - "skip": "string", "tamper": "string", }, diff --git a/lib/parse/cmdline.py b/lib/parse/cmdline.py index 4e0dc99d7..7dd0c30fa 100644 --- a/lib/parse/cmdline.py +++ b/lib/parse/cmdline.py @@ -189,6 +189,9 @@ def cmdLineParser(): injection.add_option("-p", dest="testParameter", help="Testable parameter(s)") + injection.add_option("--skip", dest="skip", + help="Skip testing for given parameter(s)") + injection.add_option("--dbms", dest="dbms", help="Force back-end DBMS to this value") @@ -218,9 +221,6 @@ def cmdLineParser(): injection.add_option("--suffix", dest="suffix", help="Injection payload suffix string") - injection.add_option("--skip", dest="skip", - help="Skip testing for given parameter(s)") - injection.add_option("--tamper", dest="tamper", help="Use given script(s) for tampering injection data") diff --git a/sqlmap.conf b/sqlmap.conf index 880510507..8297e3916 100644 --- a/sqlmap.conf +++ b/sqlmap.conf @@ -172,6 +172,9 @@ threads = 1 # parameters and HTTP User-Agent are tested by sqlmap. testParameter = +# Skip testing for given parameter(s). +skip = + # Force back-end DBMS to this value. If this option is set, the back-end # DBMS identification process will be minimized as needed. # If not set, sqlmap will detect back-end DBMS automatically by default. @@ -209,9 +212,6 @@ prefix = # Injection payload suffix string. suffix = -# Skip testing for given parameter(s). -skip = - # Use given script(s) for tampering injection data. tamper =