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
a28aa3b3
Commit
a28aa3b3
authored
Apr 18, 2017
by
Renos Stoikos
Committed by
GitHub
Apr 18, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing PEP 8
fixing PEP 8
parent
097491e4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
cisco_ios_http_authorization_bypass.py
...les/exploits/cisco/cisco_ios_http_authorization_bypass.py
+3
-4
No files found.
routersploit/modules/exploits/cisco/cisco_ios_http_authorization_bypass.py
View file @
a28aa3b3
...
@@ -24,7 +24,7 @@ class Exploit(exploits.Exploit):
...
@@ -24,7 +24,7 @@ class Exploit(exploits.Exploit):
'to bypass authentication and execute arbitrary commands, '
'to bypass authentication and execute arbitrary commands, '
'when local authorization is being used, by specifying a high access level in the URL.'
,
'when local authorization is being used, by specifying a high access level in the URL.'
,
'authors'
:
[
'authors'
:
[
'Author'
,
'renos stoikos <rstoikos[at]gmail.com>'
#
routesploit module
'Author'
,
'renos stoikos <rstoikos[at]gmail.com>'
#
routesploit module
],
],
'references'
:
[
'references'
:
[
'http://www.cvedetails.com/cve/cve-2001-0537'
,
'http://www.cvedetails.com/cve/cve-2001-0537'
,
...
@@ -34,8 +34,8 @@ class Exploit(exploits.Exploit):
...
@@ -34,8 +34,8 @@ class Exploit(exploits.Exploit):
],
],
}
}
target
=
exploits
.
Option
(
''
,
'Target address e.g. http://192.168.1.1'
,
validators
=
validators
.
url
)
#
target address
target
=
exploits
.
Option
(
''
,
'Target address e.g. http://192.168.1.1'
,
validators
=
validators
.
url
)
#
target address
port
=
exploits
.
Option
(
80
,
'Target port'
)
#
default port
port
=
exploits
.
Option
(
80
,
'Target port'
)
#
default port
show_command
=
exploits
.
Option
(
'show startup-config'
,
'Command to be executed e.g show startup-config'
)
show_command
=
exploits
.
Option
(
'show startup-config'
,
'Command to be executed e.g show startup-config'
)
access_level
=
None
access_level
=
None
...
@@ -62,4 +62,3 @@ class Exploit(exploits.Exploit):
...
@@ -62,4 +62,3 @@ class Exploit(exploits.Exploit):
print
re
.
sub
(
'<[^<]+?>'
,
''
,
response
.
text
)
print
re
.
sub
(
'<[^<]+?>'
,
''
,
response
.
text
)
else
:
else
:
print_error
(
"Exploit failed - target seems to be not vulnerable"
)
print_error
(
"Exploit failed - target seems to be 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