From e07e48efb285cc49b2504749a6dc82dd750be219 Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Sun, 26 Oct 2008 16:10:28 +0000 Subject: [PATCH] Major bug fix to correctly dump tables entries --- lib/core/option.py | 5 ++++- sqlmap.conf | 8 ++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/lib/core/option.py b/lib/core/option.py index 1cd873f93..134338243 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -489,7 +489,10 @@ def __saveCmdline(): if datatype == "boolean": value = "False" elif datatype == "integer": - value = "1" + if option == "threads": + value = "1" + else: + value = "0" elif datatype == "string": value = "" diff --git a/sqlmap.conf b/sqlmap.conf index 7570b09f6..657676f44 100644 --- a/sqlmap.conf +++ b/sqlmap.conf @@ -152,14 +152,14 @@ excludeSysDbs = False # First table entry to dump (cursor start) # Valid: number -# Default: 1 (sqlmap will start to dump the table entries from the first) -limitStart = 1 +# Default: 0 (sqlmap will start to dump the table entries from the first) +limitStart = 0 # Last table entry to dump (cursor stop) # Valid: number -# Default: 1 (sqlmap will detect the number of table entries and dump +# Default: 0 (sqlmap will detect the number of table entries and dump # until the last) -limitStop = 1 +limitStop = 0 # SQL SELECT query to be executed. # Example: SELECT 'foo', 'bar'