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
5d5d5c3d
Commit
5d5d5c3d
authored
Jul 10, 2016
by
Marcin Bury
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Catch them all
parent
f76b621e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
hg520_info_dislosure.py
routersploit/modules/exploits/huawei/hg520_info_dislosure.py
+2
-2
udp_53413_rce.py
routersploit/modules/exploits/netcore/udp_53413_rce.py
+2
-2
No files found.
routersploit/modules/exploits/huawei/hg520_info_dislosure.py
View file @
5d5d5c3d
...
...
@@ -77,7 +77,7 @@ class Exploit(exploits.Exploit):
try
:
print_status
(
"Waiting for response"
)
response
=
sock
.
recv
(
1024
)
except
socket
.
timeout
:
except
:
print_error
(
"Exploit failed - device seems to be not vulnerable"
)
return
...
...
@@ -93,7 +93,7 @@ class Exploit(exploits.Exploit):
try
:
response
=
sock
.
recv
(
1024
)
except
socket
.
timeout
:
except
:
return
False
# target is not vulnerable
if
len
(
response
):
...
...
routersploit/modules/exploits/netcore/udp_53413_rce.py
View file @
5d5d5c3d
...
...
@@ -51,7 +51,7 @@ class Exploit(exploits.Exploit):
sock
.
sendto
(
payload
,
(
self
.
target
,
53413
))
response
=
sock
.
recv
(
1024
)
return
response
[
8
:]
except
socket
.
timeout
:
except
:
pass
return
""
...
...
@@ -67,7 +67,7 @@ class Exploit(exploits.Exploit):
try
:
sock
.
sendto
(
payload
,
(
self
.
target
,
53413
))
response
=
sock
.
recv
(
1024
)
except
socket
.
timeout
:
except
:
pass
if
response
.
endswith
(
"
\xD0\xA5
Login:"
):
...
...
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