mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
improvement for lots of multiple-selection forms (now by default the first one is selected - till now it was left unchecked which lead to blank get/post data for the whole form)
This commit is contained in:
parent
c3b54cc222
commit
cd7e4f5afc
2 changed files with 5 additions and 2 deletions
|
|
@ -457,6 +457,9 @@ def __findPageForms():
|
|||
|
||||
if forms:
|
||||
for form in forms:
|
||||
for control in form.controls:
|
||||
if hasattr(control, 'items'):
|
||||
control.items[0].selected = True
|
||||
request = form.click()
|
||||
url = urldecode(request.get_full_url(), kb.pageEncoding)
|
||||
method = request.get_method()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue