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
bea9bdef
Unverified
Commit
bea9bdef
authored
Jun 09, 2020
by
Marcin Bury
Committed by
GitHub
Jun 09, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix PEP8 issues (#678)
parent
4eefc7e7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
dcs_930l_932l_auth_bypass.py
...dules/exploits/cameras/dlink/dcs_930l_932l_auth_bypass.py
+2
-2
heartbleed.py
routersploit/modules/exploits/generic/heartbleed.py
+2
-2
No files found.
routersploit/modules/exploits/cameras/dlink/dcs_930l_932l_auth_bypass.py
View file @
bea9bdef
...
@@ -76,8 +76,8 @@ class Exploit(HTTPClient):
...
@@ -76,8 +76,8 @@ class Exploit(HTTPClient):
def
chain
(
lambdas
,
value
):
def
chain
(
lambdas
,
value
):
r_chain
=
None
r_chain
=
None
for
l
in
lambdas
:
for
l
ambda_function
in
lambdas
:
r_chain
=
value
=
l
(
value
)
r_chain
=
value
=
l
ambda_function
(
value
)
return
r_chain
return
r_chain
...
...
routersploit/modules/exploits/generic/heartbleed.py
View file @
bea9bdef
...
@@ -135,8 +135,8 @@ class Exploit(TCPClient):
...
@@ -135,8 +135,8 @@ class Exploit(TCPClient):
self
.
leak
=
self
.
bleed
()
self
.
leak
=
self
.
bleed
()
if
self
.
leak
:
if
self
.
leak
:
data
=
""
data
=
""
for
l
in
self
.
leak
:
for
l
eak_byte
in
self
.
leak
:
char
=
chr
(
l
)
char
=
chr
(
l
eak_byte
)
if
char
in
self
.
white_chars
:
if
char
in
self
.
white_chars
:
data
+=
" "
data
+=
" "
elif
char
not
in
self
.
printable
:
elif
char
not
in
self
.
printable
:
...
...
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