Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
routersploit
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
czos-dpend
routersploit
Commits
1d632a77
Commit
1d632a77
authored
8 years ago
by
Laurent Meirlaen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improvement to avoid false positive
parent
d43200b6
master
…
v3.4.4
v3.4.3
v3.4.2
v3.4.0
v3.3.0
v3.2.0
v3.1.0
v3.0.0
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
smartwifi_password_disclosure.py
...modules/exploits/linksys/smartwifi_password_disclosure.py
+5
-1
No files found.
routersploit/modules/exploits/linksys/smartwifi_password_disclosure.py
View file @
1d632a77
import
re
from
routersploit
import
(
exploits
,
mute
,
...
...
@@ -56,6 +58,8 @@ class Exploit(exploits.Exploit):
response
=
http_request
(
method
=
"HEAD"
,
url
=
url
)
if
response
is
not
None
and
response
.
status_code
==
200
:
return
True
res
=
re
.
findall
(
"^([a-zA-Z0-9]+:
\
$[0-9]
\
$)"
,
response
.
text
)
if
len
(
res
):
return
True
return
False
This diff is collapsed.
Click to expand it.
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