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
278c14e3
Unverified
Commit
278c14e3
authored
May 06, 2018
by
Marcin Bury
Committed by
GitHub
May 06, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding device type scanners (#387)
parent
28fe0391
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
56 additions
and
6 deletions
+56
-6
__init__.py
routersploit/modules/exploits/generic/__init__.py
+0
-0
heartbleed.py
routersploit/modules/exploits/generic/heartbleed.py
+0
-0
shellshock.py
routersploit/modules/exploits/generic/shellshock.py
+0
-0
autopwn.py
routersploit/modules/scanners/autopwn.py
+8
-6
__init__.py
routersploit/modules/scanners/cameras/__init__.py
+0
-0
camera_scan.py
routersploit/modules/scanners/cameras/camera_scan.py
+16
-0
__init__.py
routersploit/modules/scanners/misc/__init__.py
+0
-0
misc_scan.py
routersploit/modules/scanners/misc/misc_scan.py
+16
-0
__init__.py
routersploit/modules/scanners/routers/__init__.py
+0
-0
router_scan.py
routersploit/modules/scanners/routers/router_scan.py
+16
-0
No files found.
routersploit/modules/exploits/
multi
/__init__.py
→
routersploit/modules/exploits/
generic
/__init__.py
View file @
278c14e3
File moved
routersploit/modules/exploits/
multi
/heartbleed.py
→
routersploit/modules/exploits/
generic
/heartbleed.py
View file @
278c14e3
File moved
routersploit/modules/exploits/
multi
/shellshock.py
→
routersploit/modules/exploits/
generic
/shellshock.py
View file @
278c14e3
File moved
routersploit/modules/scanners/autopwn.py
View file @
278c14e3
from
os
import
path
from
routersploit.core.exploit
import
*
from
routersploit.core.exploit.exploit
import
Protocol
from
routersploit.core.http.http_client
import
HTTPClient
from
routersploit.core.ftp.ftp_client
import
FTPClient
from
routersploit.core.ssh.ssh_client
import
SSHClient
from
routersploit.core.telnet.telnet_client
import
TelnetClient
class
Exploit
(
Exploit
):
__info__
=
{
"name"
:
"AutoPwn"
,
"description"
:
"
Scanner module for all vulnerabiliti
es."
,
"description"
:
"
Module scans for all vulnerablities and weakness
es."
,
"authors"
:
(
"Marcin Bury <marcin[at]threat9.com>"
,
# routersploit module
),
...
...
@@ -141,7 +137,13 @@ class Exploit(Exploit):
module
=
data
.
next
()
exploit
=
module
()
generic
=
exploit
.
__module__
.
startswith
(
"routersploit.modules.creds.generic"
)
and
exploit
.
__module__
.
endswith
(
"default"
)
generic
=
False
if
exploit
.
__module__
.
startswith
(
"routersploit.modules.creds.generic"
):
if
exploit
.
__module__
.
endswith
(
"default"
):
generic
=
True
else
:
continue
except
StopIteration
:
break
else
:
...
...
routersploit/modules/scanners/cameras/__init__.py
0 → 100644
View file @
278c14e3
routersploit/modules/scanners/cameras/camera_scan.py
0 → 100644
View file @
278c14e3
from
routersploit.modules.scanners.autopwn
import
Exploit
class
Exploit
(
Exploit
):
__info__
=
{
"name"
:
"Camera Scanner"
,
"description"
:
"Module that scans for cameras vulnerablities and weaknesses."
,
"authors"
:
(
"Marcin Bury <marcin[at]threat9.com>"
,
# routersploit module
),
"devices"
:
(
"Cameras"
,
),
}
modules
=
[
"generic"
,
"cameras"
]
routersploit/modules/scanners/misc/__init__.py
0 → 100644
View file @
278c14e3
routersploit/modules/scanners/misc/misc_scan.py
0 → 100644
View file @
278c14e3
from
routersploit.modules.scanners.autopwn
import
Exploit
class
Exploit
(
Exploit
):
__info__
=
{
"name"
:
"Misc Scanner"
,
"description"
:
"Module that scans for misc devices vulnerablities and weaknesses."
,
"authors"
:
(
"Marcin Bury <marcin[at]threat9.com>"
,
# routersploit module
),
"devices"
:
(
"Misc Device"
,
),
}
modules
=
[
"generic"
,
"misc"
]
routersploit/modules/scanners/routers/__init__.py
0 → 100644
View file @
278c14e3
routersploit/modules/scanners/routers/router_scan.py
0 → 100644
View file @
278c14e3
from
routersploit.modules.scanners.autopwn
import
Exploit
class
Exploit
(
Exploit
):
__info__
=
{
"name"
:
"Router Scanner"
,
"description"
:
"Module that scans for routers vulnerablities and weaknesses."
,
"authors"
:
(
"Marcin Bury <marcin[at]threat9.com>"
,
# routersploit module
),
"devices"
:
(
"Router"
,
),
}
modules
=
[
"generic"
,
"routers"
]
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