Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
IOT-fuzz
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
尹启迪
IOT-fuzz
Commits
0f9200bc
Commit
0f9200bc
authored
Sep 17, 2020
by
张航玮
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面分析,找到按键和输入的id
parent
313d57ef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
beautifulsoap_example.py
beautifulsoap_example.py
+24
-0
No files found.
beautifulsoap_example.py
0 → 100644
View file @
0f9200bc
from
bs4
import
BeautifulSoup
def
get_soap
():
soup
=
BeautifulSoup
(
open
(
"Login.html"
))
input_list
=
soup
.
select
(
'input'
)
button_list
=
soup
.
select
(
'button'
)
print
(
button_list
)
for
Input
in
input_list
:
print
(
Input
[
'type'
])
if
Input
[
'type'
]
==
'hidden'
:
print
(
"could not input"
)
else
:
print
(
Input
[
'id'
])
for
Button
in
button_list
:
print
(
Button
)
# if Input['type'] == 'hidden':
# print("could not input")
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment