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
a2ed3edc
Commit
a2ed3edc
authored
Jul 02, 2016
by
Marcin Bury
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding mute decorator to all exploits.
parent
eeaf55c9
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
0 deletions
+8
-0
infosvr_backdoor_rce.py
routersploit/modules/exploits/asus/infosvr_backdoor_rce.py
+2
-0
fortigate_os_backdoor.py
...sploit/modules/exploits/fortinet/fortigate_os_backdoor.py
+2
-0
screenos_backdoor.py
routersploit/modules/exploits/juniper/screenos_backdoor.py
+2
-0
twg849_info_disclosure.py
...sploit/modules/exploits/thomson/twg849_info_disclosure.py
+1
-0
f460_f660_backdoor.py
routersploit/modules/exploits/zte/f460_f660_backdoor.py
+1
-0
No files found.
routersploit/modules/exploits/asus/infosvr_backdoor_rce.py
View file @
a2ed3edc
...
...
@@ -7,6 +7,7 @@ from routersploit import (
print_status
,
print_success
,
print_error
,
mute
,
shell
,
)
...
...
@@ -89,6 +90,7 @@ class Exploit(exploits.Exploit):
sock
.
close
()
return
output
@mute
def
check
(
self
):
NUM_CHECKS
=
5
# we try 5 times because the exploit, tends to be unstable
...
...
routersploit/modules/exploits/fortinet/fortigate_os_backdoor.py
View file @
a2ed3edc
...
...
@@ -13,6 +13,7 @@ from routersploit import (
print_success
,
print_error
,
print_status
,
mute
,
)
...
...
@@ -97,6 +98,7 @@ class Exploit(exploits.Exploit):
finally
:
termios
.
tcsetattr
(
sys
.
stdin
,
termios
.
TCSADRAIN
,
oldtty
)
@mute
def
check
(
self
):
client
=
paramiko
.
SSHClient
()
client
.
set_missing_host_key_policy
(
paramiko
.
AutoAddPolicy
())
...
...
routersploit/modules/exploits/juniper/screenos_backdoor.py
View file @
a2ed3edc
...
...
@@ -5,6 +5,7 @@ from routersploit import (
exploits
,
print_success
,
print_error
,
mute
,
)
...
...
@@ -104,6 +105,7 @@ class Exploit(exploits.Exploit):
print_error
(
"Connection Error"
)
return
@mute
def
check
(
self
):
ssh
=
paramiko
.
SSHClient
()
ssh
.
set_missing_host_key_policy
(
paramiko
.
AutoAddPolicy
())
...
...
routersploit/modules/exploits/thomson/twg849_info_disclosure.py
View file @
a2ed3edc
...
...
@@ -73,6 +73,7 @@ class Exploit(exploits.Exploit):
else
:
print_error
(
"Exploit failed - could not read sensitive information"
)
@mute
def
check
(
self
):
cmdGen
=
cmdgen
.
CommandGenerator
()
errorIndication
,
errorStatus
,
errorIndex
,
varBinds
=
cmdGen
.
getCmd
(
...
...
routersploit/modules/exploits/zte/f460_f660_backdoor.py
View file @
a2ed3edc
...
...
@@ -79,6 +79,7 @@ class Exploit(exploits.Exploit):
return
""
@mute
def
check
(
self
):
marker
=
random_text
(
32
)
cmd
=
"echo {}"
.
format
(
marker
)
...
...
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