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
c87c568c
Commit
c87c568c
authored
Feb 05, 2017
by
Laurent Meirlaen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
netgear multi devices password disclosure: fix check method too restrictive
parent
27ca5b19
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
multi_password_disclosure-201701.py
...ules/exploits/netgear/multi_password_disclosure-201701.py
+4
-3
No files found.
routersploit/modules/exploits/netgear/multi_password_disclosure-201701.py
View file @
c87c568c
...
...
@@ -115,8 +115,9 @@ class Exploit(exploits.Exploit):
response
=
http_request
(
method
=
"GET"
,
url
=
url
)
if
response
is
not
None
and
response
.
status_code
==
200
:
if
response
.
headers
.
get
(
'WWW-Authenticate'
)
is
not
None
:
return
'unauth.cgi?id='
in
response
.
text
# target is vulnerable
if
response
is
not
None
:
header
=
response
.
headers
.
get
(
'WWW-Authenticate'
)
if
header
is
not
None
and
'NETGEAR'
in
header
.
upper
():
return
True
# target is vulnerable
return
False
# target is not vulnerable
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