mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41: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']:
|
for value in tableValues[column]['values']:
|
||||||
try:
|
try:
|
||||||
if re.search("^[\ *]*$", value): #NULL
|
if not value or re.search("^[\ *]*$", value): #NULL
|
||||||
continue
|
continue
|
||||||
|
|
||||||
_ = int(value)
|
_ = int(value)
|
||||||
@@ -318,7 +318,7 @@ class Dump:
|
|||||||
|
|
||||||
for value in tableValues[column]['values']:
|
for value in tableValues[column]['values']:
|
||||||
try:
|
try:
|
||||||
if re.search("^[\ *]*$", value): #NULL
|
if not value or re.search("^[\ *]*$", value): #NULL
|
||||||
continue
|
continue
|
||||||
|
|
||||||
_ = float(value)
|
_ = float(value)
|
||||||
|
|||||||
Reference in New Issue
Block a user