mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
Fixes #1385
This commit is contained in:
parent
fb5a75c9ad
commit
7511023bc2
|
@ -3556,7 +3556,7 @@ def findPageForms(content, url, raise_=False, addToTargets=False):
|
||||||
for form in forms:
|
for form in forms:
|
||||||
try:
|
try:
|
||||||
for control in form.controls:
|
for control in form.controls:
|
||||||
if hasattr(control, "items") and not control.disabled:
|
if hasattr(control, "items") and not any((control.disabled, control.readonly)):
|
||||||
# if control has selectable items select first non-disabled
|
# if control has selectable items select first non-disabled
|
||||||
for item in control.items:
|
for item in control.items:
|
||||||
if not item.disabled:
|
if not item.disabled:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user