Skip to content

Commit e07e48e

Browse files
committed
Major bug fix to correctly dump tables entries
1 parent fc28372 commit e07e48e

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

lib/core/option.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,10 @@ def __saveCmdline():
489489
if datatype == "boolean":
490490
value = "False"
491491
elif datatype == "integer":
492-
value = "1"
492+
if option == "threads":
493+
value = "1"
494+
else:
495+
value = "0"
493496
elif datatype == "string":
494497
value = ""
495498

sqlmap.conf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,14 +152,14 @@ excludeSysDbs = False
152152

153153
# First table entry to dump (cursor start)
154154
# Valid: number
155-
# Default: 1 (sqlmap will start to dump the table entries from the first)
156-
limitStart = 1
155+
# Default: 0 (sqlmap will start to dump the table entries from the first)
156+
limitStart = 0
157157

158158
# Last table entry to dump (cursor stop)
159159
# Valid: number
160-
# Default: 1 (sqlmap will detect the number of table entries and dump
160+
# Default: 0 (sqlmap will detect the number of table entries and dump
161161
# until the last)
162-
limitStop = 1
162+
limitStop = 0
163163

164164
# SQL SELECT query to be executed.
165165
# Example: SELECT 'foo', 'bar'

0 commit comments

Comments
 (0)