mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00: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
3 changed files with 3 additions and 2 deletions
|
|
@ -215,7 +215,7 @@ def __feedTargetsDict(reqFile, addedTargetUrls):
|
|||
|
||||
for line in lines:
|
||||
if len(line) == 0 or line == "\n":
|
||||
if method == HTTPMETHOD.POST:
|
||||
if method == HTTPMETHOD.POST and data is None:
|
||||
data = ""
|
||||
params = True
|
||||
|
||||
|
|
|
|||
|
|
@ -261,7 +261,7 @@ def attackDumpedTable():
|
|||
|
||||
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]['length'] = max(table[column]['length'], len(table[column]['values'][i]))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue