diff --git a/lib/core/optiondict.py b/lib/core/optiondict.py index 0f811de26..5cefe96ca 100644 --- a/lib/core/optiondict.py +++ b/lib/core/optiondict.py @@ -73,7 +73,7 @@ optDict = { "risk": "integer", "string": "string", "regexp": "string", - "code": "string", + "code": "integer", "textOnly": "boolean", "titles": "boolean" }, diff --git a/sqlmap.conf b/sqlmap.conf index cff6d7705..6a1f0d3c7 100644 --- a/sqlmap.conf +++ b/sqlmap.conf @@ -234,10 +234,10 @@ string = regexp = # HTTP response code to match when the query is valid -# Valid: True or False +# Valid: Integer # Example: 200 (assuming any False statement returns a different response # code) -code = +# code = # Compare pages based only on the textual content # Valid: True or False @@ -578,7 +578,8 @@ replicate = False tor = False # Set Tor proxy port other than default -torPort = +# Valid: integer +# torPort = # Set Tor proxy type. # Valid: HTTP, SOCKS4, SOCKS5