mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-29 04:53:48 +03:00
fix for a bug reported by rdsears@mtu.edu (TypeError: expected string or buffer)
This commit is contained in:
parent
a6015b59df
commit
a2bb0d72e8
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user