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
822deeba
Unverified
Commit
822deeba
authored
7 years ago
by
Marcin Bury
Committed by
GitHub
7 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removing template functionality (#389)
parent
278c14e3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
9 deletions
+2
-9
rsf.py
rsf.py
+2
-9
No files found.
rsf.py
View file @
822deeba
...
...
@@ -2,24 +2,17 @@
from
__future__
import
print_function
import
argparse
import
logging.handlers
from
routersploit.interpreter
import
RoutersploitInterpreter
log_handler
=
logging
.
handlers
.
RotatingFileHandler
(
filename
=
'routersploit.log'
,
maxBytes
=
500000
)
log_formatter
=
logging
.
Formatter
(
'
%(asctime)
s
%(levelname)
s
%(name)
s
%(message)
s'
)
log_handler
=
logging
.
handlers
.
RotatingFileHandler
(
filename
=
"routersploit.log"
,
maxBytes
=
500000
)
log_formatter
=
logging
.
Formatter
(
"
%(asctime)
s
%(levelname)
s
%(name)
s
%(message)
s"
)
log_handler
.
setFormatter
(
log_formatter
)
LOGGER
=
logging
.
getLogger
()
LOGGER
.
setLevel
(
logging
.
DEBUG
)
LOGGER
.
addHandler
(
log_handler
)
parser
=
argparse
.
ArgumentParser
(
description
=
'RouterSploit - Router Exploitation Framework'
)
parser
.
add_argument
(
'-a'
,
'--add-exploit'
,
metavar
=
'exploit_path'
,
help
=
'Add exploit using default template.'
)
def
routersploit
():
rsf
=
RoutersploitInterpreter
()
...
...
This diff is collapsed.
Click to expand it.
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