mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 19:13:48 +03:00
fix for a bug reported by Kirill (value is None in attack table phase) and minor fix for loading request file
This commit is contained in:
parent
bd75fd26e9
commit
0bb08d09d2
|
@ -268,6 +268,7 @@ Anastasios Monachos <anastasiosm@gmail.com>
|
||||||
for suggesting a feature
|
for suggesting a feature
|
||||||
|
|
||||||
Kirill Morozov <l0rda@l0rda.biz>
|
Kirill Morozov <l0rda@l0rda.biz>
|
||||||
|
for reporting a bug
|
||||||
for suggesting a feature
|
for suggesting a feature
|
||||||
|
|
||||||
Alejo Murillo Moya <alex@65535.com>
|
Alejo Murillo Moya <alex@65535.com>
|
||||||
|
|
|
@ -215,7 +215,7 @@ def __feedTargetsDict(reqFile, addedTargetUrls):
|
||||||
|
|
||||||
for line in lines:
|
for line in lines:
|
||||||
if len(line) == 0 or line == "\n":
|
if len(line) == 0 or line == "\n":
|
||||||
if method == HTTPMETHOD.POST:
|
if method == HTTPMETHOD.POST and data is None:
|
||||||
data = ""
|
data = ""
|
||||||
params = True
|
params = True
|
||||||
|
|
||||||
|
|
|
@ -261,7 +261,7 @@ def attackDumpedTable():
|
||||||
|
|
||||||
value = table[column]['values'][i]
|
value = table[column]['values'][i]
|
||||||
|
|
||||||
if value.lower() == hash_.lower():
|
if all(map(lambda x: x, [value, hash_])) and value.lower() == hash_.lower():
|
||||||
table[column]['values'][i] += " (%s)" % password
|
table[column]['values'][i] += " (%s)" % password
|
||||||
table[column]['length'] = max(table[column]['length'], len(table[column]['values'][i]))
|
table[column]['length'] = max(table[column]['length'], len(table[column]['values'][i]))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user