From 804629832dcd6bc6831a5b7e913b57a4b917e195 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 5 Jan 2012 10:24:27 +0000 Subject: [PATCH] minor fix --- lib/core/optiondict.py | 2 +- sqlmap.conf | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) 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