mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 04:31:30 +00:00
fix for a bug reported by rdsears@mtu.edu (TypeError: expected string or buffer)
This commit is contained in:
@@ -305,7 +305,7 @@ class Dump:
|
||||
|
||||
for value in tableValues[column]['values']:
|
||||
try:
|
||||
if re.search("^[\ *]*$", value): #NULL
|
||||
if not value or re.search("^[\ *]*$", value): #NULL
|
||||
continue
|
||||
|
||||
_ = int(value)
|
||||
@@ -318,7 +318,7 @@ class Dump:
|
||||
|
||||
for value in tableValues[column]['values']:
|
||||
try:
|
||||
if re.search("^[\ *]*$", value): #NULL
|
||||
if not value or re.search("^[\ *]*$", value): #NULL
|
||||
continue
|
||||
|
||||
_ = float(value)
|
||||
|
||||
Reference in New Issue
Block a user